Can't get service failure(warning) to send notification

booleanenator at gmail.com booleanenator at gmail.com
Tue Oct 16 04:07:57 CEST 2012


When I have issues like that, I turn up debugging in nagios.cfg then force the service to go critical with passive commands from the CGI. Remember that the debug options are additive, so only include what you need to figure out what is going on. I would say just from this conversation that it sounds like your either you timeperiods are incorrect/conflicting exclusions etc. or the notification command cannot be parsed correctly. Remember both the service and contact timeperiods have to overlap for a notification to be sent. Also, it only notifies when going into a hard state. If you have retries, it may require you to submit the critical passive state mutiple times. I usually disable active checks when I do this so a scheduled active check doesn't put the service into an okay state in the middle of forcing a hard critical.

It would help to debug if you include the service definitions (including all templates inherited and explicitly included in the "use" line), contact definition, the relevant notification and check command definitions, and timeperiods.
Sent on the Sprint® Now Network from my BlackBerry®

-----Original Message-----
From: James Pifer <jamespifer at hotmail.com>
Date: Mon, 15 Oct 2012 11:05:33 
To: Nagios Users List<nagios-users at lists.sourceforge.net>
Reply-To: Nagios Users List <nagios-users at lists.sourceforge.net>
Subject: Re: [Nagios-users] Can't get service failure(warning) to
	send	notification

On 10/15/2012 8:08 AM, James Pifer wrote:
> On 10/14/2012 8:25 PM, booleanenator at gmail.com wrote:
>> Did you set your contacts to be able to receive e-mail notifications? I actually make 2 contacts using the first as a template for the second. One recieves the e-mail and it is 24x7 and the second is the on call and uses a timeperiod that is part of the on-call rotation which I based on the documentation.
>> Sent on the Sprint® Now Network from my BlackBerry®
>>
>

I made the service level go to OK, then I downed the web service so it's 
currently at a critical state and the State Type changed. Something is 
still stopping the notification from even being attempted. See 
Notification Information on screen shot here:

http://www.obrien-pifer.com/ServiceOutage.png

Thanks,
James

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
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
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
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