email notification problem

Hugo van der Kooij hvdkooij at vanderkooij.org
Fri Jan 27 07:47:40 CET 2006


On Thu, 26 Jan 2006, test 123king wrote:

> Basically I replaced /usr/bin/printf with /bin/mail.
>
>   In the /var/log/messages log I see the following error:
>
> Warning: Attempting to execute the command "/bin/mail "%b" "***** Nagios *****nnNotification Type: RECOVERYnHost: Server-1nState: UPnAddress: 10.100.1.79nInfo: PING OK - Packet loss = 0%, RTA = 0.76 msnnDate/Time: Thu Jan 26 17:48:21 EST 2006n" | -s "Host UP alert for Server-OTM!" sysadmin at www.com" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists...

Lesson 1 in troubleshooting: Read the error carefully.

You have not told us about the steps you have taken after receiving this
error message and how you tried to solve your problem.

Hugo.

-- 
	I hate duplicates. Just reply to the relevant mailinglist.
	hvdkooij at vanderkooij.org		http://hvdkooij.xs4all.nl/
		Don't meddle in the affairs of magicians,
		for they are subtle and quick to anger.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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