nagios forgots resource values when using reload feature
Andreas Ericsson
ae at op5.se
Sat Jan 8 22:34:58 CET 2005
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 andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
More information about the Developers
mailing list