How do I put a greater delay between checks?

John Stotler jstotler at crc.net
Tue Jul 20 19:31:34 CEST 2004


One way to do it would be to figure out how many checks it will do in a
10-minute period, and set the "max_check_attempts" accordingly.



On Tue, 2004-07-20 at 13:05, 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
> 
> Terry Poperszky  
> 
> 
> Suse 9.1
> Nagios  1.2
> Plugins 1.31
> 
> Host config:
> 
> 
> define host{
>         use                             generic-host
>         host_name                       delta
>         alias                           delta
>         address                         10.49.3.151
>         parents                         H101
>         checks_enabled                  1
>         check_command                   check-host-alive
>         max_check_attempts              5
>         notification_interval           60
>         notification_period             24x7
>         notification_options            d,r
>         notifications_enabled           1
> }
> 
> define service{
>         host_name               delta
>         service_description     ping
>         is_volatile             0
>         check_command           check_ping!30,1%!50,25%
>         max_check_attempts      5
>         normal_check_interval   5
>         retry_check_interval    2
>         check_period            24x7
>         notification_interval   30
>         notification_period     24x7
>         notification_options    u,c,r
>         contact_groups          network-manager
> }
> 
> 
> 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%
> 
> 
> 
> -------------------------------------------------------
> 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


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