<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV dir=ltr align=left>
<DIV dir=ltr align=left><SPAN class=607153911-14032007><FONT face=Arial
color=#0000ff size=2>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=607153911-14032007><FONT face=Arial
color=#0000ff size=2>have a look at this part of the error:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=607153911-14032007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=607153911-14032007>Nagios process!" | -s "**
PROBLEM alert </SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=607153911-14032007></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=607153911-14032007><FONT face=Arial
color=#0000ff size=2>The mail command is missing, I
think.</FONT></SPAN></DIV></DIV>
<DIV> </DIV>
<DIV align=left>
<DIV class=Section1>
<P class=MsoNormal align=left><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Mit freundlichem Gruß</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Christian
Mies </SPAN></P>
<P class=MsoNormal><SPAN class=SpellE><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">it-novum</SPAN></SPAN><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> GmbH, <SPAN class=SpellE><SPAN
style="COLOR: black">Edelzeller</SPAN></SPAN><SPAN style="COLOR: black"> Str.
44, 36043 Fulda, Germany </SPAN><BR><SPAN
style="COLOR: black">FON: +49 (661)
103-874(333)</SPAN> <SPAN
style="COLOR: black">FAX: +49 (661)
103-334</SPAN><BR><SPAN style="COLOR: black">MAIL: </SPAN> <A
title=mailto:m.kienle@itnovum.de href="blocked::mailto:c.mies@itnovum.de"
target=_blank><SPAN
title=mailto:m.kienle@itnovum.de>c.mies@itnovum.de</SPAN></A>
<SPAN style="COLOR: black">WEB: </SPAN> <A
title=/exchweb/bin/redir.asp?URL=http://www.itnovum.de/
href="blocked::outbind://2-00000000EE0931A3972FE44188DA7F276FCF87CA07001160D06701B0154985D72DA43FE3D33A0000004DDE5600001160D06701B0154985D72DA43FE3D33A0000004DE1EB0000/exchweb/bin/redir.asp?URL=http://www.itnovum.de/"
target=_blank><SPAN
title=/exchweb/bin/redir.asp?URL=http://www.itnovum.de/>http://www.itnovum.de</SPAN><SPAN
title=/exchweb/bin/redir.asp?URL=http://www.itnovum.de/><SPAN
style="COLOR: windowtext; TEXT-DECORATION: none; text-underline: none"></SPAN></SPAN></A>
<BR>Handelsregister:
<SPAN
style="mso-spacerun: yes"> </SPAN>Amtsgericht Fulda, HRB 1934
<BR>Geschäftsführer:
Michael Kienle
(Vorsitz), Stefan Heil<BR>Sitz der
Gesellschaft: Fulda
<BR><SPAN
class=SpellE>UstID-Nr</SPAN>:
DE813211784 <BR><SPAN
class=SpellE>Steuernr</SPAN>.:
018/225/03095 <?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P></DIV></DIV>
<DIV> </DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Von:</B>
nagios-users-bounces@lists.sourceforge.net
[mailto:nagios-users-bounces@lists.sourceforge.net] <B>Im Auftrag von
</B>chiel<BR><B>Gesendet:</B> Mittwoch, 14. März 2007 12:17<BR><B>An:</B>
nagios-users@lists.sourceforge.net<BR><B>Betreff:</B> [Nagios-users] Problem
with notify-by-email<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>When Nagios is trying to send me an e-mail I get
the following error in the event log:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>[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 **" <A
href="mailto:****@****.com">****@****.com</A>" resulted in a return code of
127. Make sure the script or binary you are trying to execute actually
exists...</DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I use Nagios 2.7 with Debian and Exim4. Exim is
working normal and sents a e-mail when I do the following test:</FONT></DIV>
<DIV><FONT face=Arial size=2>"printf text | mail -s "subject" e-mail
address"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The "notify-by-email" command is present in the
commands.cfg</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I didn't find any help on google
etc..</FONT></DIV>
<DIV><FONT face=Arial size=2>any idea?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>chiel</FONT></DIV></BLOCKQUOTE></BODY></HTML>