Re: [Nagios-devel] RFC: Retry interval on hard states

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] RFC: Retry interval on hard states

Post by Guest »

Hi Tom,

Tom Sommer schrieb:
> Since this suggestion seems to have some backing, I thought I would
> forward it to the devel list.
>
> Note that several other monitoring systems provide the mentioned feature.
>
> The complete thread can be found in the users list.
>
> ---------------------------- Original Message ----------------------------
> Subject: Retry interval on hard states
> From: "Tom Sommer"
> Date: Fri, March 7, 2008 14:44
> To: [email protected]
> --------------------------------------------------------------------------
>
> Hi,
>
> I wish to setup the following check interval:
>
> Check the service every 5 minutes
> -> If down then check the service every 1 minute for 3 minutes/times
> -> If still down, notify and continue to check the service every 1
> minute until it recovers.
>
> I'm having a few problems with the last condition. Basically once the
> notification is sent, Nagios seems to revert to the "normal" check
> interval, which is 5 minutes - resulting in a substantial delay for the
> recovery notification to be sent.
>
> My settings are:
> max_check_attempts 3
> check_interval 5
> retry_interval 1
>
> Did I miss anything or is the above simply not possible?
>
> Using 3.0rc3
>

You could solve your wish via an event_handler. Let it trigger an
external command to change the normal_check_interval.

More info see here:
http://www.nagios.org/developerinfo/ext ... and_id=109
http://www.nagios.org/developerinfo/ext ... and_id=110


Regards,
Hendrik





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked