Nagios 2.0b4 restart issue

Thibault Genessay tgenessay at aliadis.fr
Tue Nov 29 08:59:07 CET 2005


> Here is a log message from after the restart: nagios:
> Warning: Return code of 127 for check of service 'Root / Free Space' 
> on host 'host.network.com <http://host.network.com>' was out of 
> bounds. Make sure the plugin you're trying to run actually exists.

Code 127 is "command not found" 
(http://www.tldp.org/LDP/abs/html/exitcodes.html) so there is not much 
to do except figuring out why nagios can't find your plugin.
Try to 'su nagios' and then run the command exactly as nagios would 
(using the full path and so on)

Also, if you are using an out-of-the-box version of nagios 2.0b4, you 
only have a local check of the disk through the check_local_disk command 
defined in the sample checkcommands.cfg, using the check_disk plugin. If 
you are trying to fetch the space available on a remote host, this host 
should have both a check client (NSCA, NRPE or anything similar) and the 
plugin. If it's your case maybe the error msg is issued by the remote 
host and then passed to your nagios probe.

-- 
Thibault GENESSAY
ALIADIS
www.aliadis.fr
Tel.  0870 723 724
Fax   04 72 13 90 40 



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click




More information about the Developers mailing list