Suppressing notifications due to Unreachable state due to parent config

Eric Frazier efrazier at ic-agency.com
Mon Sep 24 19:29:23 CEST 2007


Marc Powell wrote:
>   
>> -----Original Message-----
>> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
>> bounces at lists.sourceforge.net] On Behalf Of Eric Frazier
>> Sent: Monday, September 24, 2007 7:09 AM
>> To: nagios-users at lists.sourceforge.net
>> Subject: [Nagios-users] Suppressing notifications due to Unreachable
>>     
> state
>   
>> due to parent config
>>
>>     
>
>
>   
>> I have a very basic host that tests a http connect on google.com and
>> yahoo.com from our office named, "CableRogers"
>> The hosts we monitor that are outside the office have CableRogers
>>     
> listed
>   
>> as a parent with "parents CableRogers" in their configs. This seems to
>> have been done correctly since if I look at the status map, I see
>> CableRogers being the hub for --->  host1 host 2 host3
>>
>> I also have a test which I am able to break that both breaks the test
>> for CableRogers and for host2, but regardless of the timing I still
>>     
> get
>   
>> notifications from host2. I tried testing this by specifically causing
>>     
>
> Are these host or service notifications? Unreachable or Down?
>
>   
Service Notifications whose hosts should be considered unreachable.

>> CableRogers to break, then breaking host2, but I still get
>>     
> notifications
>   
>> for host2 and there isn't a 'u' in site.
>>     
>
> Here's the flow roughly outlined as I understand it from
> http://nagios.sourceforge.net/docs/2_0/networkreachability.html and
> experience on this list, perhaps there's something that's missing --
>
> - Service on Host2 reports CRITICAL state
> - check_command for Host2 is run.
> - if Host2 state != Warning/Critical
> 	Send service alert
>   Else
> 	Suppress service alert
> 	check_command for host2 parent is run
> 	if host2 parent state != Warning/Critical
> 		Send host warning/down alert for host2
> 	Else
> 		Send host unreachable alert for host2
> 		Check more parents
> 	Fi
>   Fi
>
>   
Thanks Marc. Are you saying that you can't suppress an alert that is 
returned as Critical? That doesn't seem to match the docs, but it makes 
a lot of sense re the problem I am having.

Eric

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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