Antwort: Notification Timing Problem

Sascha.Runschke at gfkl.com Sascha.Runschke at gfkl.com
Thu Oct 30 10:29:10 CET 2008


"MJK Nagios" <mjknagios at mjk.org> schrieb am 29.10.2008 23:11:55:

> I seem to be having a rather difficult time getting notifications to
> work the way that I would like.  I'm using a test host to have Nagios
> generate alerts when I take it offline.  Nagios detects and sends
> notifications for the host coming back on-line very quickly.  What I'm
> doing in order to test my config is to then simulate that the host
> fails again in a few minutes.  The problem I'm seeing is that it takes
> Nagios 15-20 minutes to send a notification that the host is again
> down.  This would be useless to me in a production environment; if the
> host drops again -- I need to know about it immediately.

I can't really believe the 2 scenarios you are describing.
You say the first simulated down comes immediatly and the next simulated
down takes 15 minutes to notify... that can't be.

Looking at the history you posted it seems quite obvious to me that
you have defined 10 retries for the host. With a retry interval of
roundabout 1 minute (which is sometimes delayed due to scheduler latency)
you end up with 10-15 minutes until the host enters a HARD state and
nagios generates a notification.

Your setup is working exactly how you configurated it.
If you need immediate notifications, reduce the retry_checks to 1.

Regards
        Sascha

-- 
Sascha Runschke
IT-Infrastruktur

fon      : +49 (201) / 102-1879
fax      : +49 (201) / 102-1102105
mobil : +49 (173) / 5419665



GFKL Financial Services AG
Vorstand: Dr. Peter Jänsch (Vors.), Jürgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp
Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma
Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20081030/8637aa87/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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=/
-------------- 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