Problem with notify-by-email
Mies, Christian
c.mies at itnovum.de
Wed Mar 14 12:40:53 CET 2007
Hi,
have a look at this part of the error:
Nagios process!" | -s "** PROBLEM alert
The mail command is missing, I think.
Mit freundlichem Gruß
Christian Mies
it-novum GmbH, Edelzeller Str. 44, 36043 Fulda, Germany
FON: +49 (661) 103-874(333) FAX: +49 (661) 103-334
MAIL: c.mies at itnovum.de <blocked::mailto:c.mies at itnovum.de> WEB: http://www.itnovum.de <blocked::outbind://2-00000000EE0931A3972FE44188DA7F276FCF87CA07001160D06701B0154985D72DA43FE3D33A0000004DDE5600001160D06701B0154985D72DA43FE3D33A0000004DE1EB0000/exchweb/bin/redir.asp?URL=http://www.itnovum.de/>
Handelsregister: Amtsgericht Fulda, HRB 1934
Geschäftsführer: Michael Kienle (Vorsitz), Stefan Heil
Sitz der Gesellschaft: Fulda
UstID-Nr: DE813211784
Steuernr.: 018/225/03095
________________________________
Von: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von chiel
Gesendet: Mittwoch, 14. März 2007 12:17
An: nagios-users at lists.sourceforge.net
Betreff: [Nagios-users] Problem with notify-by-email
Hi,
When Nagios is trying to send me an e-mail I get the following error in the event log:
[03-14-2007 12:02:36] Warning: Attempting to execute the command "/usr/bin/printf "%b" "***** Nagios 2.7 *****\n\nNotification Type: PROBLEM\n\nService: Nagios\nHost: ****\nAddress: ***.***.***.***\nState: CRITICAL\n\nDate/Time: Wed Mar 14 12:02:36 CET 2007\n\nAdditional Info:\n\nNAGIOS CRITICAL: Could not locate a running Nagios process!" | -s "** PROBLEM alert - ****/Nagios is CRITICAL **" ****@****.com" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists...
I use Nagios 2.7 with Debian and Exim4. Exim is working normal and sents a e-mail when I do the following test:
"printf text | mail -s "subject" e-mail address"
The "notify-by-email" command is present in the commands.cfg
I didn't find any help on google etc..
any idea?
chiel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070314/9868e603/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- 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