Disable/Enable Service Checks based on Host State
Larry Low
llow at telesphere.com
Tue Feb 5 22:01:46 CET 2008
> > -----Original Message-----
> > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-
> users-
> > bounces at lists.sourceforge.net] On Behalf Of Larry Low
> > Sent: Tuesday, February 05, 2008 2:15 PM
> > To: nagios-users at lists.sourceforge.net
> > Subject: Re: [Nagios-users] Disable/Enable Service Checks based on
> Host
> > State
> >
> > Anyone have any ideas how to tackle this problem? Most of my active
> > checks
> > are run very rarely (60 minutes) so if one is checked while the host
> is
> > down
> > it takes longer than I would like to see a recovery. I want to
> reduce
> > unnecessary e-mail alerts too (recoveries of said services).
> >
>
> It's a strange request. Maybe you need to explain better why you think
> you need to do this or what you're trying to accomplish. If nagios is
> allowed to continue its service checks, it'll recognize the host
> recovery with the first service check after it does recover. This is
> part of the core design of nagios.
Host A is detected down. I perform simple ICMP checks for this. Checking
services for this host is pointless as they are going to fail. I would
simply like active service checks to be halted until the host recovers. The
host recovery is handled by the host checks which will run every retry
interval. There is no need to check services to detect recovery.
To prevent any possible problems with the host not being detected on its
recovery I will simply reschedule checks for all services in 5 minutes from
the recovery.
>
> --
> Marc
>
> -----------------------------------------------------------------------
> --
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> 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
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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