No email alerts ??

Jim Perrin jperrin at gmail.com
Wed Oct 3 23:48:59 CEST 2007


On 10/3/07, Nedim Bicic <nedo72 at gmail.com> wrote:

> [1191443852] Warning: Attempting to execute the command "/usr/bin/printf
> "%b" "***** Nagios 2.9 *****\n\nNotification Type: PROBLEM\nHost:
> Test1\nState: DOWN\nAddress: 10.8.2.40\nInfo: PING CRITICAL - Packet loss =
> 100%\n\nDate/Time: Wed Oct 3 15:37:32 CDT 2007\n" | /bin/mail -s "Host DOWN
> alert for Test1!" nedo72 at gmail.com" resulted in a return code of 127.  Make
> sure the script or binary you are trying to execute actually exists...

This message itself gives you several clues. Nagios either doesn't
have access to /usr/bin/printf, or to /bin/mail. You said you were on
a RHEL4 box, do you have SELinux enabled?

Have you tried running this command on your system as the nagios user manually?

-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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