Service checks and retry check interval

Jason Martin jhmartin at toger.us
Wed Jun 16 22:15:30 CEST 2004


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

By any chance is the service set to be volatile? That might account for 
the behavior you are seeing.

- -Jason Martin


On Wed, 16 Jun 2004, Tom 
Valdes wrote:

> I currently have my normal_check_interval set to 5 minutes
> 
> If a service check is missed, I'd like it to retry 5 times before
> sending a notification and I'd like the retry interval to be 1 minute.
> (can it be less?  Like 10 seconds?)
> 
>  
> 
> I've tried adding the following to services.cfg
> 
>         max_check_attempts         5
> 
>         normal_check_interval        5
> 
>         retry_check_interval           1
> 
>  
> 
> Shouldn't this retry a failed check every minute for 5 tries before
> sending a notification?
> 
>  
> 
> Using a test server, I pull the plug and Nagios catches the 100% ping
> loss but if I plug it back in as soon as it notices, Nagios emails me
> right away and doesn't return an Up state for another 5 minutes?
> 
>  
> 
> The following is what I receive on the status screen.. It shows a State
> Type: HARD.. Shouldn't it be in a SOFT state until it completes the
> max_check_attempts?
> 
>  
> 
> Current Status:   CRITICAL    
> 
> Status Information:FPING CRITICAL - 192.168.100.21 (loss=100.000000% )
> 
> Current Attempt:1/10 
> 
> State Type:HARD
> 
> Last Check Type:ACTIVE
> 
> Last Check Time:06-16-2004 15:38:06
> 
> Status Data Age: 0d 0h 0m 53s
> 
> Next Scheduled Active Check:  06-16-2004 15:43:06
> 
> Latency:2 seconds
> 
> Check Duration:< 1 second
> 
> Last State Change:06-16-2004 15:38:16
> 
> Current State Duration: 0d 0h 0m 43s
> 
> Last Service Notification:N/A
> 
> Current Notification Number:0
> 
> Is This Service Flapping?  NO  
> 
> Percent State Change:6.25%
> 
> In Scheduled Downtime?  NO  
> 
> Last Update:06-16-2004 15:38:56
> 
>  
> 
> Thanks,
> 
> tom
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/

iD8DBQFA0Kpxl2ODWuqVSBMRAka1AKCQjZPn/9L8eB3iX68pMsybqErI6QCgkXAs
cqkAqwqvQubzdkiw54S6vdM=
=lbhH
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
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