Services: normal check interval and real time between checks

I’ve defined a service with normal check interval = 3 min.
Why Nagios repeat this service check in 20-25 minutes?

is the cpu load of the server very high?
If not check your config files… looks quite strange… a 10-20 % difference is nromal 20-25 minutes looks like way too much… :confused:

Luca

[quote=“luca”]is the cpu load of the server very high?
If not check your config files… looks quite strange… a 10-20 % difference is nromal 20-25 minutes looks like way too much… :confused:

Luca[/quote]

Nope… utilization of cpu is not very high… there’s a small splash of cpu load in first time of restart nagios (tons of processes are started - ps -ax|grep nagios| wc -l is about 150-200) and since a few seconds a number of processes become lower and is stabilized.
What things in config files should I check?

see if you have the correct timings set everywhere in your files. And be sure that the standard timing hasn’t been changed.
if the retry interval is 5 and the interval is defined as 5 minutes you will get 25 minutes interval… but it defaults to 1 minute…

If you check you scheduling queue are they scheduled at 5 mintues interval? You cn check this in the service properties too. find last check time and next shceduled check time.

Luca

Also, you have to know what the interval setting is in nagios.cfg. If you have your check interval set to 5, but an interval is actually set to 300, then your check interval will end up being 5 x 300 = 1500 seconds.