identifying the slow check
Josh Yost
Josh.Yost at epsiia.com
Mon Jun 4 20:54:37 CEST 2007
Michael W. Lucas wrote:
> Hi,
>
> I've followed the advice for optimizing Nagios from the FAQ, and get
> the following performance stats.
>
> Check Execution Time: 0.01 sec 10.01 sec 0.248 sec
> Check Latency: 0.00 sec 2.31 sec 0.144 sec
> Percent State Change: 0.00% 6.25% 0.08%
>
> Overall, the times are pretty good, but my maximum check time is
> pretty consistently about 10 seconds.
>
> I'd like to identify which check(s) that is. I'm sure it can either
> be optimized away or performed in some other manner. Any suggestions?
>
Hi,
Is that host or service? I'm guessing it's host and that you have the
host check set to 1 ping and the max_check_attempts set to 10 (I'm only
guessing because my host performance #s are almost exactly the same as
yours).
If so, there's nothing you can do about it (because it will happen
whenever a host is down), and I don't think of it as a problem, since
your avg. execution time and latency are well under 1 sec.
I would be more worried about the avg. service execution time & latency
(again, the execution time max will probably be whatever your Nagios
service_check_timeout value is set to, unless you have no problems on
your network).
Here's my current host check stats:
Check Execution Time: 0.01 sec 10.02 sec 0.463 sec
Check Latency: 0.00 sec 2.16 sec 0.011 sec
Percent State Change: 0.00% 9.34% 0.13%
current service stats:
Check Execution Time: 0.02 sec 60.01 sec 0.214 sec
Check Latency: 0.00 sec 0.37 sec 0.136 sec
Percent State Change: 0.00% 38.29% 0.14%
cheers,
- Josh
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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