Problems with 3.0b5 init script?

J. Potter jpotter-nagios at codepuppy.com
Sat Oct 20 00:03:22 CEST 2007


Hi List --

I'm having problems with the 3.0b5 init script, specifically with  
reload.

  It seems that calling "service nagios reload" causes nagios to lose  
its pointer at the plugins dir, meaning every service check within a  
few minutes issues:
	Warning: Return code of 127 for check of service '<someService>' on  
host '<someHost>' was out of bounds. Make sure the plugin you're  
trying to run actually exists.

"service nagios restart" works, but if I remember, reload is better  
for picking up config changes, because timers between checks don't  
get reset.

I was seeing some other funkiness in the init script as well, but  
after fiddling with things for a while, they seem to have calmed  
down. I think the init script assumes that the lock_file in  
nagios.cfg has not been put in a different place, for example.

Suggestions on the reload() stuff? I'm not seeing anything in the  
nagios logs that gives any clues.

best,
Jeff


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/




More information about the Developers mailing list