Scheduling queue

nagios at mm.quex.org nagios at mm.quex.org
Wed Sep 1 09:27:50 CEST 2004


On Wed, Sep 01, 2004 at 09:00:53AM +0200, Ghe Rivero wrote:

>     we are going to use nagios in my university, but
> after have it working, we have found that most of the
> time, the scheduling queue is some minutes delayed
> (Current time 8.55.34 and next check 8.51.27), which
> is really anoying when there are some critical service
> that can not be waiting.
> 
> PD.- Making the check_interval smaller doesn't help at all

I've found that decreasing the interval_length in the main
Nagios configuration file makes Nagios feel a lot more responsive,
and keeps checks executing when needed.  I use 6 seconds.  Bear
in mind that you'll have to adjust the check intervals for services
if you change this.  There are warnings in the config file that
other values of this haven't been tested, so it's probably a good
idea to do it on a non-production system.

If you change this, you'll also want to make sure the
service_reaper_frequency is pretty low, too.  I use 5 seconds.

Another useful thing to look at is the max_concurrent_checks
setting.  This alone may be enough to fix your problem - with
the standard interval_length of 60 seconds, service checks should
never be delayed much more than one minute, so it's possible that
they just aren't completing fast enough for Nagios to get the
next batch running.  I'm using 10, but we only have 300 services.

There's quite a few other settings related to how long Nagios
waits between various operations, so just take 10 minutes for a
leisurely stroll through the config file and make your settings
more aggressive.


-------------------------------------------------------
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=5047&alloc_id=10808&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