How do I put a greater delay between checks?

Demetri Mouratis dmourati at cm.math.uiuc.edu
Tue Jul 20 19:36:47 CEST 2004


On Tue, 20 Jul 2004, Terry Poperszky wrote:

> Ok, I am monitoring dsl circuits that have minor fluctuations on a
> regular basis, I am getting inundated with notifications and I am
> stumped. I want nagios to report problems that exist over a 10 minute
> time period and I can't quite seem to get that to happen. Any help would
> be appreciated
>
> Event Log entries:
>
> [07-20-2004 10:56:01] SERVICE ALERT: delta;ping;CRITICAL;HARD;1;PING
> CRITICAL - Packet loss = 100%
> Host Notification[07-20-2004 10:56:01] HOST NOTIFICATION:
> tpoperszky;delta;DOWN;host-notify-by-email;PING CRITICAL - Packet loss =
> 100%
> Host Down[07-20-2004 10:56:01] HOST ALERT: delta;DOWN;HARD;5;PING
> CRITICAL - Packet loss = 100%
> Host Down[07-20-2004 10:55:57] HOST ALERT: delta;DOWN;SOFT;4;PING
> CRITICAL - Packet loss = 100%
> Host Down[07-20-2004 10:55:54] HOST ALERT: delta;DOWN;SOFT;3;PING
> CRITICAL - Packet loss = 100%
> Host Down[07-20-2004 10:55:51] HOST ALERT: delta;DOWN;SOFT;2;PING
> CRITICAL - Packet loss = 100%
> Host Down[07-20-2004 10:55:48] HOST ALERT: delta;DOWN;SOFT;1;PING
> CRITICAL - Packet loss = 100%

Have you changed interval_length in nagios.cfg?  I don't see how you could
have retried so fast otherwise.

The value you'll want to tweak after that is retry_check_inteval which is
multiplied by the interval_length above to determine elapsed secnods
between non-OK checks.

Timing Interval Length

Format: 	interval_length=<seconds>
Example: 	interval_length=60
This is the number of seconds per "unit interval" used for timing in the
scheduling queue, re-notifications, etc. "Units intervals" are used in the
host configuration file to determine how often to run a service check, how
often of re-notify a contact, etc.

Important: The default value for this is set to 60, which means that a
"unit value" of 1 in the host configuration file will mean 60 seconds (1
minute). I have not really tested other values for this variable, so
proceed at your own risk if you decide to do so!
---------------------------------------------------------------------
Demetri Mouratis
dmourati at linfactory.com



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
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