home *** CD-ROM | disk | FTP | other *** search
Wrap
pause about to send 5 sample service messages that match to the 5 services at Edinburgh in the example database rem version 1.1 rem An email server called localhost is being used in this sample. There is an email address called helpdesk@mycompany.co.uk which is scanned by the NHserver program rem first an old style Sophos Sweep Virus report message nethdsendstatus service=00002 status=ok smtpserver=localhost smtprecipient=helpdesk@mycompany.co.uk subject="sweep report server1" message=" xxx job completed 10 viruses" rem second a file is transferred by email to the server nethdsendstatus service=00010 status=ok subject="servicemessage file transfer mydb" attachedfilename=c:\autoexec2.bat smtpserver=localhost smtprecipient=helpdesk@mycompany.co.uk rem third the status of an UPS is reported nethdsendstatus service=00011 status=fault smtpserver=localhost smtprecipient=helpdesk@mycompany.co.uk subject="serviceSTATUS UPS Problem" message="ups brown out" rem fourth the status of a processor is reported nethdsendstatus service=00009 status=OK smtpserver=localhost smtprecipient=helpdesk@mycompany.co.uk subject="serviceSTATUS" message="Processor OK" rem fifth the status of a backup is reported nethdsendstatus service=00001 status=FAULT smtpserver=localhost smtprecipient=helpdesk@mycompany.co.uk subject="serviceSTATUS" message="Backup failed - no tape" pause done