Re: [Nagios-devel] nagios forgots resource values when using reload

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] nagios forgots resource values when using reload

Post by Guest »

Robert Bossecker wrote:
> Hello,
>
> i recently installed 2.0b1, when using "/etc/init.d/nagios reload"
> immediately in the log file those lines show up:
>
> ... Warning: Attempting to execute the command "/check_ping ..."
> resulted in a return code of 127. Make sure the script or binary you
> are trying to execute actually exists...
>

This most likely has to do with the fact that the forked processes
receive a SIGHUP as well as the original one when you reload. That it is
the check_ping program that returns the output is most likely
coincidental to that exact plugin running at the time of the reload.

> i am using the $USER1$ resource to specify the libexec directory.
>
> My actual workaround is to use "restart" instead of "reload"

--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Lead Developer





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