Re: [Nagios-users] Problem with notify-by-email
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of chiel > Sent: Wednesday, March 14, 2007 6:53 AM > To: Mies, Christian; nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] Problem with notify-by-email > > Thanks, > > After adding "mail" into the command it works. What may have caused it to > not be there? > I didn't specify --with-mail=dir when I compiled nagios. Can that be the > problem?? Possibly. ./configure almost certainly wasn't able to locate the mail binary by itself and probably complained about it. Normally there isn't a problem locating it but if it's installed in an unusual place or not installed at all the result would be what you experienced. -- Marc - 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 ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Problem with notify-by-email
On Wed, 14 Mar 2007, chiel wrote: > After adding "mail" into the command it works. What may have caused it to not > be there? The common cause is a network layer 8 problem. Hugo. -- [EMAIL PROTECTED] http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) - 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 ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Problem with notify-by-email
That is true. I configured exim after I have installed nagios... chiel - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] ; [EMAIL PROTECTED] ; nagios-users@lists.sourceforge.net Sent: Wednesday, March 14, 2007 1:02 PM Subject: RE: [Nagios-users] Problem with notify-by-email It happened to me as well as I installed the mail agent after nagios, I guess. Regards, Davide -- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of chiel Sent: 14 March 2007 12:53 To: Mies, Christian; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Problem with notify-by-email Thanks, After adding "mail" into the command it works. What may have caused it to not be there? I didn't specify --with-mail=dir when I compiled nagios. Can that be the problem??? - Original Message - From: Mies, Christian To: nagios-users@lists.sourceforge.net Sent: Wednesday, March 14, 2007 12:40 PM Subject: Re: [Nagios-users] Problem with notify-by-email 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: [EMAIL PROTECTED]WEB: 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von chiel Gesendet: Mittwoch, 14. März 2007 12:17 An: nagios-users@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 **" [EMAIL PROTECTED]" 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 - 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 ___ Nagios-users mailing list Nagios-users@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 This email message is intended only for the use of the named recipient. Information contained in this email message and its attachments may be privileged, confidential and protected from disclosure. If you are not the intended recipient, please do not read, copy, use or disclose this communication to others. Also please notify the sender by replying to this message and then delete it from your system. - 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___ Nagios-users mailing list Nagios-users@lists.source
Re: [Nagios-users] Problem with notify-by-email
It happened to me as well as I installed the mail agent after nagios, I guess. Regards, Davide From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of chiel Sent: 14 March 2007 12:53 To: Mies, Christian; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Problem with notify-by-email Thanks, After adding "mail" into the command it works. What may have caused it to not be there? I didn't specify --with-mail=dir when I compiled nagios. Can that be the problem??? - Original Message - From: Mies, Christian <mailto:[EMAIL PROTECTED]> To: nagios-users@lists.sourceforge.net Sent: Wednesday, March 14, 2007 12:40 PM Subject: Re: [Nagios-users] Problem with notify-by-email 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: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> WEB: http://www.itnovum.de <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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von chiel Gesendet: Mittwoch, 14. März 2007 12:17 An: nagios-users@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 **" [EMAIL PROTECTED]" 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 - 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 ___ Nagios-users mailing list Nagios-users@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 This email message is intended only for the use of the named recipient. Information contained in this email message and its attachments may be privileged, confidential and protected from disclosure. If you are not the intended recipient, please do not read, copy, use or disclose this communication to others. Also please notify the sender by replying to this message and then delete it from your system. - 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=sourcefo
Re: [Nagios-users] Problem with notify-by-email
Thanks, After adding "mail" into the command it works. What may have caused it to not be there? I didn't specify --with-mail=dir when I compiled nagios. Can that be the problem??? - Original Message - From: Mies, Christian To: nagios-users@lists.sourceforge.net Sent: Wednesday, March 14, 2007 12:40 PM Subject: Re: [Nagios-users] Problem with notify-by-email 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: [EMAIL PROTECTED]WEB: 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von chiel Gesendet: Mittwoch, 14. März 2007 12:17 An: nagios-users@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 **" [EMAIL PROTECTED]" 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 -- - 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 -- ___ Nagios-users mailing list Nagios-users@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- 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___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Problem with notify-by-email
On 3/14/07, chiel <[EMAIL PROTECTED]> wrote: 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 **" [EMAIL PROTECTED]" 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 It looks like the keyword 'mail' is missing from your command definition, right after the pipe. - 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___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Problem with notify-by-email
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: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]> WEB: http://www.itnovum.de 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von chiel Gesendet: Mittwoch, 14. März 2007 12:17 An: nagios-users@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 **" [EMAIL PROTECTED]" 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 - 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___ Nagios-users mailing list Nagios-users@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
[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 **" [EMAIL PROTECTED]" 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- 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___ Nagios-users mailing list Nagios-users@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