<br><tt><font size=2>"MJK Nagios" <mjknagios@mjk.org> schrieb
am 29.10.2008 23:11:55:<br>
<br>
> I seem to be having a rather difficult time getting notifications
to<br>
> work the way that I would like.  I'm using a test host to have
Nagios<br>
> generate alerts when I take it offline.  Nagios detects and sends<br>
> notifications for the host coming back on-line very quickly.  What
I'm<br>
> doing in order to test my config is to then simulate that the host<br>
> fails again in a few minutes.  The problem I'm seeing is that
it takes<br>
> Nagios 15-20 minutes to send a notification that the host is again<br>
> down.  This would be useless to me in a production environment;
if the<br>
> host drops again -- I need to know about it immediately.<br>
</font></tt>
<br><tt><font size=2>I can't really believe the 2 scenarios you are describing.</font></tt>
<br><tt><font size=2>You say the first simulated down comes immediatly
and the next simulated</font></tt>
<br><tt><font size=2>down takes 15 minutes to notify... that can't be.</font></tt>
<br>
<br><tt><font size=2>Looking at the history you posted it seems quite obvious
to me that</font></tt>
<br><tt><font size=2>you have defined 10 retries for the host. With a retry
interval of</font></tt>
<br><tt><font size=2>roundabout 1 minute (which is sometimes delayed due
to scheduler latency)</font></tt>
<br><tt><font size=2>you end up with 10-15 minutes until the host enters
a HARD state and</font></tt>
<br><tt><font size=2>nagios generates a notification.</font></tt>
<br>
<br><tt><font size=2>Your setup is working exactly how you configurated
it.</font></tt>
<br><tt><font size=2>If you need immediate notifications, reduce the retry_checks
to 1.</font></tt>
<br>
<br><tt><font size=2>Regards</font></tt>
<br><tt><font size=2>        Sascha</font></tt>
<br>
<br><font size=2 face="sans-serif">-- <br>
Sascha Runschke<br>
IT-Infrastruktur<br>
<br>
fon      : +49 (201) / 102-1879<br>
fax      : +49 (201) / 102-1102105<br>
mobil : +49 (173) / 5419665</font>
<br>
<br>
<br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">GFKL Financial Services AG</span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">Vorstand: Dr. Peter Jänsch (Vors.), Jürgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp</span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma</span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522</span>