RE: Email notifications

Ludo Bosmans <[email protected]> Fri, 27 Dec 2002 08:52:45 +0100
Newsgroups gmane.network.netsaint.user
Message-ID <[email protected]>
Mike,
 
Check your [notify-by-email] config:
After the pipe sign, there must be a script or executable, normally
/bin/mail to handle the mail delivery.
Something as:
/bin/echo "........               | /bin/mail -s "this is the subject
........
Look also if /bin/mail exist.
 
best regards,
 
ludo
 
[email protected] <mailto:[email protected]> 
 
 
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: donderdag 26 december 2002 17:48
To: [email protected]
Subject: [netsaint] Email notifications




Hello all, 
After checking the log files of my Netsaint I found several messages that
concerned me. The following errors are of concern: 

[1040911666] Warning: Attempting to execute the command "/bin/echo -e '*****
NetSaint 0.0.6 *****\n\nNotification Type: PROBLEM\n\nService: ping\nHost:
90905-100228\nAddress: 148.70.80.0\nState: CRITICAL\n\nDate/Time: Thu Dec 26
09:07:46 EST 2002\n\nAdditional Info:\n\nCRITICAL - Plugin timed out after
15 seconds' |   -s '** PROBLEM alert - 90905-100228/ping is CRITICAL **'
[email protected]" resulted in a return code of 127.  Make sure the
script or binary you are trying to execute actually exists... 

Warning: Attempting to execute the command "/bin/echo -e '***** NetSaint
0.0.6 *****\n\nNotification Type: RECOVERY\n\nService: ping\nHost:
90905-100228\nAddress: 148.70.80.0\nState: OK\n\nDate/Time: Thu Dec 26
09:12:36 EST 2002\n\nAdditional Info:\n\nPING OK - Packet loss = 0%, RTA =
881.95 ms' |   -s '** RECOVERY alert - 90905-100228/ping is OK **'
[email protected]" resulted in a return code of 127.  Make sure the
script or binary you are trying to execute actually exists... 

Can anyone help me with this. I have had Netsaint running for several weeks
and have never figured out how to actually get the email notifications to
work. Does anyone have suggestions? 

Any help would be greatly appreciated. 

Mike