Hello List.
I monitor a Z-fax server. It's done by checking the logfiles for
connection-times of 00:00:00. Every 30 minute (scheduled task) i run
checkfax.cmd. See below for details.
In SA i have set up an External Com check for Filesize and do an alert if
faxerror.txt is greater than 2 bytes.
Hope that will be to any use for you.
Best regards Per Ohlsson
Freeway Network Solutions AB



checkfax.cmd
****file start.
@ECHO OFF

Rem Check if file exist
if not exist "fax.log" goto End

Rem Check for 00:00:00 = Fax not delivered
findstr 00:00:00 fax.log >faxerror.txt


Rem Date-time function

for /F "tokens=1-4 delims=- " %%i in ('date /t') do (
set DayOfWeek=%%i
set Year=%%j
set Month=%%k
set Day=%%l
set Date=%%j-%%k-%%l
)

for /F "tokens=1-2 delims=: " %%m in ('time /t') do (
set Hour=%%m
set Minute=%%n

)


ren "fax.log" "%Date%_%Hour%_%Minute%.txt" :end


I rename the logfile (if exist) and do a "findstr xx  yy"  >>> "[EMAIL PROTECTED]" 
02/23/04 23:47 PM >>>
Does anyone currently monitor a fax server?  If so how are you doing it
other than just monitoring the key services?
 Thanks,
 Nathan

To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
   unsubscribe SAlive

Reply via email to