notify with qmail and gentoo problem
Volker.Aust at premiere.de
Volker.Aust at premiere.de
Fri Oct 25 14:25:19 CEST 2002
Hi Lloyd,
> -----Original Message-----
> From: Lloyd Meinholz [mailto:Meinholz at bmpcoe.org]
> Sent: Friday, October 25, 2002 1:41 PM
> To: 'sancho at sancho2k.net'; nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] notify with qmail and gentoo problem
<snip>
> Since I got the following in nagios.log:
> [1035474094] Warning: Attempting to execute the command
> "/usr/bin/printf "%b" "Service: NTP\nHost: odin\nAddress:
> 204.255.194.4\nState: OK\nInfo: OK: Time difference -0.033110
> seconds\nDate: Thu Oct 24 11:41:34 EDT 2002" | -s "RECOVERY:
^^^^
> Odin Sun E3000/NTP is OK" meinholz at imcingular.com" resulted
> in a return code of 127. Make sure the script or binary you
> are trying to execute actually exists...
</snip>
printf is not your problem, but at the mark there is no mail command. printf
is only used to pipe the mail message body to your mail program. '-s "blah"'
is the subject and 'meinholz at ...' is the receipient. I think qmail never
see's your mail.
Can you post your notify-by-email (or host-notify-by-email) command from
your (misc-) commands.cfg?
-vol
-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
More information about the Users
mailing list