notify-by-email error

Marc Powell marc at ena.com
Fri Aug 5 17:15:01 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Lei Zhong
> Sent: Friday, August 05, 2005 8:58 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] notify-by-email error
> 
> Hi,
> 
> 
> 
> I am new to Nagios.  I set up Nagios.  Everything seems to be fine,
except
> I am not getting alert emails.  I checked nagios.log.  Here is what I
> found:
> 
> 
> 
> HTTP;CRITICAL;notify-by-epager;Connection refused
> 
> HTTP;CRITICAL;notify-by-email;Connection refused
> 
> HTTP;CRITICAL;notify-by-email;Connection refused
> 
> HTTP;CRITICAL;notify-by-email;Connection refused
> 
> Processes;WARNING;notify-by-epager;System call sent warnings to stderr
> 
> Total Processes;WARNING;notify-by-email;System call sent warnings to
> stderr

This means that when nagios executed your defined notify-by-epager and
notify-by-email commands, they spat out text to STDERR. This means that
there was an error executing the command or in a command that they
execute themselves. Without knowing what those commands are I'm only
speculating of course. My best guess is that something about the plugin
output for your warnings above isn't being escaped properly when you
call your notify-by-* commands. Try running them exactly as they are
defined in your command definition as the nagios user and substituting
the exact text that Nagios would insert for the various $VARIABLE$'s
when a WARNING condition occurs.

--
Marc


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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