Re: [Nagios-devel] Nagios and Gearman - huge environment performan=

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Nagios and Gearman - huge environment performan=

Post by Guest »

--_000_4288A518A157EC4C8873FEE74F778BF0024EFDWPSDGQHHOPRSTATEF_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Makes me wonder then, what is the latency introduced with gearman? Keep in=
mind I don't have any knowledge of the inner workings of gearman, but woul=
d be interesting to see what logging/debugging at that level can bring. I =
just wonder what your server is so busy doing that it can't get checks out =
the door.

Dan

From: Rodney Ramos [mailto:rodneyra@gmail.com]
Sent: Wednesday, August 24, 2011 11:36 AM
To: Nagios Developers List
Subject: Re: [Nagios-devel] Nagios and Gearman - huge environment performan=
ce problem

Hi Daniel. In my environment I have a lot of hosts that are down for a long=
time. I can=B4t deal with this. One thing that should be clear is that I=
=B4m using gearman and mod_gearman to make the checks. I have 9 workers (vi=
rtual machines) to do the job. The central server, running Nagios 3.2.3, do=
es not execute any plugin. The central server is physical, with 8 CPUs, 4 G=
B ram, running RHEL 5.4 64 bits. Thanks.
On Wed, Aug 24, 2011 at 11:37 AM, Daniel Wittenberg > wrote:
I noticed from the output you have a high amount of unknown and critical se=
rvices. Are those taking a long time to timeout? What you might try, whic=
h I know isn't ideal, but removing certain checks that might be failing, li=
ke just start with host checks, and when those show good, add a few more se=
rvices, few more, etc. until you notice the time going through the roof aga=
in. That might help figure out where your threshold is, and if there are c=
ertain checks that are causing issues. Is this a physical or virtual serve=
r?

Dan

From: Rodney Ramos [mailto:rodneyra@gmail.com]
Sent: Wednesday, August 24, 2011 9:26 AM

To: Nagios Developers List
Subject: Re: [Nagios-devel] Nagios and Gearman - huge environment performan=
ce problem

Hi Sven. Thank you again. I=B4m pretty sure that my check interval is 15 mi=
n, for both, hosts and services. I=B4ve set this in the templates.cfg file =
(see below). I sending too the nagiostats output. I agree with you that if =
we divide 100 k checks / 15 min ~ 111 checks/sec, but the problem is that N=
agios does not make these checks smoothly during the time. Thats the proble=
m.


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
templates.cfg
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
define host{
name generic-host
...
check_interval 15
....
}

define service{
name generic-service
...
normal_check_interval 15
....
}

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
nagiostats output
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Nagios Stats 3.2.3
Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org)
Last Modified: 10-03-2010
License: GPL

CURRENT STATUS DATA
------------------------------------------------------
Status File: /usr/local/nagios/var/status.dat
Status File Age: 0d 0h 0m 17s
Status File Version: 3.2.3

Program Running Time: 0d 17h 43m 2s
Nagios PID: 18854
Used/High/Total Command Buffers: 0 / 0 / 4096

Total Services: 68206
Services Checked: 68206
Services Scheduled: 68206
Services Actively Checked: 68206
Services Passively Checked: 0
Total Service State Change: 0.000 / 43.880 / 2.774 %
Active Service Latency: 40.671 / 503.137 / 234.919 sec
Active Service Execution Time: 0.003 / 24.737 / 2.527 sec
Active Service State Change: 0.000 / 43.880 / 2.774 %
Active Services Last 1/5/15/60 min: 0 / 2897 / 35932 / 68206
Passive Service Latency: 0.000 / 0.000 / 0.000 sec
Passive Service State Change: 0.000 / 0.000 / 0.000 %
Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0
Se

...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: mailto:rodneyra@gmail.com>
Locked