Nagios email

Jon Schneider Jon at clearconcepts.ca
Mon Apr 11 19:11:46 CEST 2005


Well I did not have the mail program, so I copied it from another
server, created some symlinks, added the /bin/mail to the command line
in the misccommands.cfg and now its working perfectly, thanks man.

Jon

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc
Powell
Sent: Monday, April 11, 2005 10:16 AM
To: nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Nagios email



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Jon Schneider
> Sent: Monday, April 11, 2005 10:11 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Nagios email
> 
> Hello all,
> 
> I have having some trouble getting Nagios to properly email alerts, I
> setup a test failure and here is the output in the nagios.log:
> 
> [1113229562] Warning: Attempting to execute the command
"/usr/bin/printf
> "%b" "***** Nagios  *****\n\nNotification Type: PROBLEM\n\nService:
SMTP
> Mail\nHost: Stats and Monitoring\nAddress: 192.168.1.2\nState:
> WARNING\n\nDate/Time: Mon Apr 11 09:26:02 CDT 2005\n\nAdditional
> Info:\n\nInvalid SMTP response received from host" |  -s "** PROBLEM


After the | above should read '| /bin/mail -s "... 

Configure must not have been able to find it. Edit the command
definition to correct it. You'd specify the correct path to the 'mail'
program if it's not in /bin of course (or its postfix equivalent).

--
Marc


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick
_______________________________________________
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



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
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