Re: [Nagios-devel] High latencies problem.

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] High latencies problem.

Post by Guest »



On 3/26/2009 4:04 PM, Hendrik Baecker wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>
> Alessandro Ren schrieb:
> =20
>> =20
>>> I have nagios writing all perfomance data to a file and rotatin=
g it
>>> each 60s and I=B4ve a importer written in C, perl would to catch up w=
ith
>>> the files being rotated, to import them each 3 minutes.
>>> =20
> Same procedure like we did on PNP4Nagios.
> Sounds like we had a good idea ;)
>
> =20
>>> I=B4ve noticed that with this many sevices, the interface get v=
ery
>>> slow and starves the server, so I=B4ve moved all comments to the
>>> database, as nagios would go throught the comments linked list for ea=
ch
>>> service, changed the nagios code to write it direclty there and the C=
Gis
>>> to read from there.
>>> =20
> Well, you are talking about the internal nagios comments?
> If so, it would be a nice discussion if the hint about "Service has
> Comments associated" is something like useless in the service overview?
> IMO it might be enough to see if a host/service has a comment in the
> host/service detail.
> What do the rest of us think?
> =20
We have altered the logic of this hint, it only shows when the host=20
is down and the comment is newer the ha status change, to ensure that=20
the operator has ACK the problem, and the hinst shows the last comment=20
on mouse over.

> =20
>>> We also serialize all status data to a memcahe to
>>> speed up the interface, creating and 70s cache, which worked very nic=
e
>>> brought the load that was at 15/17 to 2/4.
>>> =20
>> =20
> Since we all are waiting for the new NDO based Webinterface, would you
> share your code changes with us?
> =20

I will isolate the code and send it fo the list later so you can=20
evaluate it.

[]s.
> Regards,
> Hendrik
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAknL0bgACgkQlI0PwfxLQjk5vwCggbA5JkWCNCmfX4IQy333c8fI
> eOUAnjbtlBIf/MRaPNCYHhTFWaqBTruI
> =3DxImw
> -----END PGP SIGNATURE-----
>
> -----------------------------------------------------------------------=
-------
> _______________________________________________
> Nagios-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
> =20





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