trouble with latency

Cook, Garry GWCOOK at mactec.com
Wed Feb 23 18:27:19 CET 2005


Scott Behrens wrote:
> I am getting roughly 3354 seconds of latency per check and I am not
> sure why.   Everything is enabled in smart mode except for
> max_concurent_checks because I had trobule with swap.  I took the
> minimum recommended number and multiplied it by to and set
> max_concurent_checks to 100.  Any suggestions?  Also 95% of my checks
> use NRPE. Total services:             1812    
> Total hosts:                  175
> MetricMin.Max.Average
> Check Execution Time:  < 1 sec6 sec0.345 sec
> Check Latency:2967 sec3859 sec3748.046 sec
> Percent State Change:0.00%0.00%0.00%

I'm assuming that you have run the following command:
/path/to/nagios/bin/nagios -s /path/to/nagios/etc/nagios.cfg
Because you mention the recommended value for max_concurrent_checks.

However, this will will also give you information about how
max_concurrent_checks and service_reaper_frequency are related to
latency. If the reaper frequency is set too high, or max concurrent is
too low, you can end up with latency issues.

You'll have to play around with different values until you find
something that works. I recently added about 1500 service checks, and
also raised my max concurrent checks value to about 150. I ended up with
about 11 seconds of check latency. So, I've since dropped my reaper
frequency to 3 seconds (from 5) and dropped concurrent checks to 60. So
far, this is working out well. My recommended min/max concurrent checks
are 2 & 6.

Garry W. Cook, CCNA
Network Infrastructure Manager
MACTEC, Inc. - http://www.mactec.com/
303.273.5050 (Office) - 720.220.1862 (Mobile)


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&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