Service alerts after host down?

Jay Chandler lists at sequestered.net
Tue Sep 16 03:06:33 CEST 2008


Marc Powell wrote:
> On Sep 15, 2008, at 6:30 PM, Jay Chandler wrote:
>
>   
>> Howdy.
>>
>> I fear I have something misconfigured.  A host in our environment will
>> go down, and I'll get a notification that the host is down.  However,
>> I'll still keep getting Service alerts after the host notification,
>> which I don't get; logically, if a host is hard down, NONE of its
>> services should return as up.
>>     
>
> Yup. nagios knows this. Service alert suppression is automagic. The  
> first section of the following page explains --
>
> http://nagios.sourceforge.net/docs/2_0/networkreachability.html
>
>   
>> Assuming I'm not mistaken in this belief, what portion of my config
>> files shall I submit for review?
>>     
>
> You just need to make sure that your host's check_command returns DOWN  
> when it's down. If that is currently the case, and you see that  
> reflected in the web interface, be sure that you don't have multiple  
> nagios daemons running at the same time.
>
>   
Thanks for your reply-- I've made a few changes here and am awaiting the 
next maintenance window (or outtage!) to verify that this works now.  I 
may change the check_host_alive to use an SSH query instead of an ICMP 
echo request; there are several situations in which the box is for all 
intents and purposes down, but the IP stack still responds to ping.

-- 
Jay Chandler / KB1JWQ
Living Legend / Systems Exorcist
Today's Excuse: Communist revolutionaries taking over the server room and demanding all the computers in the building or they shoot the sysadmin. Poor misguided fools.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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