dont check service when host down

Marc Powell marc at ena.com
Tue Sep 18 16:43:27 CEST 2007



> -----Original Message-----
> From: Ton Voon [mailto:ton.voon at altinity.com]
> Sent: Tuesday, September 18, 2007 9:23 AM
> To: Marc Powell
> Cc: Nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] dont check service when host down
> 
> 
> On 18 Sep 2007, at 15:08, Marc Powell wrote:
> 
> >> I'm using nagios to check a lot of host and service. When a host is
> > coming
> >> down, nagios continue to check the service attached to this host.
> >> It's
> >> consume a lot of performance, it's trivial to know that when a
> >> host is
> >> down, we dont get a response from the service associate...
> >>
> >> how can I fix that ? please
> >
> > Nagios does what you're asking for by default if you have a host
> > check_command that correctly determines the status of the host.
> >
> > Check the first two paragraphs of
> > http://nagios.sourceforge.net/docs/2_0/networkreachability.html.
> 
> Marc, that's not strictly what Olivier is asking for. Nagios will
> silence alarms if the host is down, but will continue checking the
> service, regardless of the state of the host.

True true, I misread. As you indicated, service dependencies are
probably his best bet to actually stop most of the service checks on a
host. He'd need to leave at least one active to be depended upon and to
let nagios know when the host has recovered.

--
Marc

-------------------------------------------------------------------------
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