Adjusting time interval for max_check_attempts

Marcel webknowledge at gmail.com
Tue Sep 25 18:54:17 CEST 2007


what if one craft a check-host-alive command with a sleep 60; check_icmp -H
xxx.xxx.xxx.xxx ???

On 9/13/07, Patrick Morris <patrick.morris at hp.com> wrote:
>
> On Thu, 13 Sep 2007, DeBattista, Joe wrote:
>
> > Hi,
> >      I running nagios 2.5 (yes, I know it?s old) and I?m trying to
> figure out how to adjust the interval time when a host check notices a
> problem.  I currently have my max_check_attempts in my host definition set
> to 10, and when that host goes down, it seems to only have a 3 second
> interval on its checking, so the 10 checks take only 30 seconds before
> switching from a SOFT state to HARD, and sending out a notification.  I know
> there?s an retry_check_interval option for service definitions, but didn?t
> see an equivalent for the host definitions.  I looked in nagios.cfg and
> didn?t see anything there.  I?d like to adjust this so that it waits about
> 60 seconds between each check.  Thanks.
>
> What you're looking to do isn't possible in Nagios 2.x.  There is no way
> to adjust the host check interval.
>
> -------------------------------------------------------------------------
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070925/e1475add/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
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