Alerts delayed for critical services

Jon Angliss jon at netdork.net
Thu Sep 25 02:09:09 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 23 Sep 2008 09:29:09 -0500, "Serafin, Chris"
<CSerafin at RKON.com> wrote:

>The comments are actually from the default Nagios config file and not what I am intending to do. Sorry I should have clarified. I basically want to get alerts ASAP. Thanks.

Hugo has you on the right directions.  Assuming you left the times set
the default in the nagios.cfg, your check times every 3 minutes
(normal_check_interval), and you expect 3 failures
(max_check_attempts).  After the first failure, it'll check every
minute (retry_check_interval).  If you want to get alerts as soon as a
service fails, reduce max_check_attempts, and normal_check_interval. 
However, you'll need to expect false alerts.  So reduce
normal_check_interval to 1 so it tests every minute, and leave
max_check_attempts at three, then after 3 minutes of failures, you'll
get alerted.

- -- 
Jon Angliss

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32) - GPGshell v3.64

iEYEARECAAYFAkja1oAACgkQK4PoFPj9H3NtfwCeICOTQQYfMoJ6xqAOvCZ7Q6vt
+PQAn1qG2vXVAYDj4iTs3uIlxYM6WKfF
=Isav
-----END PGP SIGNATURE-----


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