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

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] Difference in CPU time with and without ePN

Post by Guest »

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/01/08 11:00 AM, Thomas Guyot-Sionnest wrote:
> 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.

Oops I though It was that but apparently it's not the case (at least on
Nagos 3); if the file is only readable by root Nagios fails on HUP's.

Sorry for the spam (actually for not verifying my claims...) :(

Thomas

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHiEq06dZ+Kt5BchYRAvVoAKDhFrNVEaPMheJYWrxuni61S2panACfV4w9
Lue30C6gfbhqViO+JEIFjWc=
=VWYM
-----END PGP SIGNATURE-----





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