RE: [Nagios-devel] Hashing, take 2

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] Hashing, take 2

Post by Guest »

Sorry for doubleposting, I somehow managed to unintentionally activate =
the shortcut for "Send" in outlook for the n'th time :/

> > Hi.
> >=20
> > Does this patch speed up the cgi's?
>=20
> Slightly, yes, but a different amount on different systems based on=20
> the conditions below. The greatest benefit will be for systems that=20
> accept a receive a large amount of passive checks though.

You mean it will speed up the processing of passive checks?
That is good news for us with distributed setups :)

> > If so i'm willing to take it for a spin and report my findings.
> >=20
>=20
> Please do. The main issue at hand here is stability at first.=20
> If this patch works out well we can start chopping up the code to be=20
> better compartmentalized and each section of it can then be optimized=20
> to the extremes wrt both resources and speed without having to gamble=20
> with stability.

With summer comes spare time, yay :)
I've finally got around to testing this patch, and I think i've found a =
bug.
The deamon starts fine, and nagios -v reports 32616 services and 3033 =
hosts.

But the cgi's do not show all my services.
The tac.cgi and status.cgi reports a grand totalt of 1024 services :)
Let me know if you need me to do anyting to pinpoint this bug.

As for cgi speed here what I measured :

Status.cgi with hostgroup=3Dall&style=3Dhostdetail

Patched nagios:

real 0m5.596s
user 0m5.510s
sys 0m0.090s

Clean nagios:

real 0m6.523s
user 0m6.450s
sys 0m0.080s

Seems to run a bit faster, as you predicted.

To display all the services for one host takes roughly the same
Amount of time.=20


Best
/andr=E8





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked