Page 1 of 1

Re: [Nagios-devel] Difference in CPU time with and without ePN

Posted: Fri Jan 11, 2008 8:00 am
by Guest
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andreas Ericsson wrote:
> Thomas Guyot-Sionnest wrote:
>> 1. Kill and restart Nagios instead of HUP'ing it (Why don't nagios
>> execve itself on HUPs BTW?)
>
> I have no idea. It would definitely make it easier to write modules
> for it, as each new load is 100% certain to provide a clean slate.

Eh, I just flashed back on this. I know why; it's simply because Nagios
opens the resource file (usually readable only by root) before dropping
privileges. The only way it can restart by itself without loosing access
to that file is what it does right now.

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHh5KC6dZ+Kt5BchYRAie5AJsElQEu0Tn8ijAdqU0c2+F5+Dz+MwCeMKw9
PEAianCtetkXo/lCB34Df0o=
=ImRM
-----END PGP SIGNATURE-----





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