No Email Notifications

Gregory Wong gwong at wong-consulting.com
Tue Feb 5 23:22:03 CET 2008


Hi Everyone,

I am having some problems getting email notifications on a new Nagios server
I just built. I have only setup PING and SMTP checks to see if everything is
working properly. The Event Log on the web interface shows the following
message:

[02-05-2008 17:14:02] Warning: Attempting to execute the command
"/usr/bin/mail/printf "%b" "***** Nagios 2.6 *****\n\nNotification Type:
PROBLEM\nHost: SMTP\nState: DOWN\nAddress: <IP ADDRESS>\nInfo: PING CRITICAL
- Packet loss = 100%\n\nDate/Time: Tue Feb 5 17:14:02 EST 2008\n" | -s "Host
DOWN alert for SMTP!" <EMAIL ADDRESS>" resulted in a return code of 127.
Make sure the script or binary you are trying to execute actually exists...

I ran apt-get mailx as per someone¹s instructions in order to get email
notifications and also changed /bin/mail to /usr/bin/mail in commands.cfg
specifically in the email notifications section.

Any ideas on how to get email notifications fixed?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080205/d290fe98/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list