Re: [Nagios-devel] High latencies problem.
Posted: Thu Mar 26, 2009 6:04 pm
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alessandro Ren schrieb:
>=20
>> I have nagios writing all perfomance data to a file and rotating =
it=20
>> each 60s and I=B4ve a importer written in C, perl would to catch up wi=
th=20
>> the files being rotated, to import them each 3 minutes.
Same procedure like we did on PNP4Nagios.
Sounds like we had a good idea
>> I=B4ve noticed that with this many sevices, the interface get ver=
y=20
>> slow and starves the server, so I=B4ve moved all comments to the=20
>> database, as nagios would go throught the comments linked list for eac=
h=20
>> service, changed the nagios code to write it direclty there and the CG=
is=20
>> 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?
>> We also serialize all status data to a memcahe to=20
>> speed up the interface, creating and 70s cache, which worked very nice=
=20
>> brought the load that was at 15/17 to 2/4.
>=20
Since we all are waiting for the new NDO based Webinterface, would you
share your code changes with us?
Regards,
Hendrik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAknL0bgACgkQlI0PwfxLQjk5vwCggbA5JkWCNCmfX4IQy333c8fI
eOUAnjbtlBIf/MRaPNCYHhTFWaqBTruI
=3DxImw
-----END PGP SIGNATURE-----
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Hash: SHA1
Alessandro Ren schrieb:
>=20
>> I have nagios writing all perfomance data to a file and rotating =
it=20
>> each 60s and I=B4ve a importer written in C, perl would to catch up wi=
th=20
>> the files being rotated, to import them each 3 minutes.
Same procedure like we did on PNP4Nagios.
Sounds like we had a good idea
>> I=B4ve noticed that with this many sevices, the interface get ver=
y=20
>> slow and starves the server, so I=B4ve moved all comments to the=20
>> database, as nagios would go throught the comments linked list for eac=
h=20
>> service, changed the nagios code to write it direclty there and the CG=
is=20
>> 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?
>> We also serialize all status data to a memcahe to=20
>> speed up the interface, creating and 70s cache, which worked very nice=
=20
>> brought the load that was at 15/17 to 2/4.
>=20
Since we all are waiting for the new NDO based Webinterface, would you
share your code changes with us?
Regards,
Hendrik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAknL0bgACgkQlI0PwfxLQjk5vwCggbA5JkWCNCmfX4IQy333c8fI
eOUAnjbtlBIf/MRaPNCYHhTFWaqBTruI
=3DxImw
-----END PGP SIGNATURE-----
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]