[Nagiosplug-help] (Return code of 127 is out of bounds - plugin may be missing)

Jason okitek at kda.attmil.ne.jp
Mon Jul 15 18:15:05 CEST 2002


N-P-L,

    I am unable to get an ok status from check-host-alive and any service check in nagios.  I always get 
(Return code of 127 is out of bounds - plugin may be missing) 

I read the FAQ and it has this error listed.  It mentions permissions with ping.  The plugins run as nagios nagios, I tried running them as nobody nogroup with the same results.  check_http reports the same error

I did a su into nagios and was able to get an ok from the command line with check_http

I configured nagios and the plug-ins with the defaults.

The check commands are located in /usr/local/nagios/libexec/  
The process status is working and I believe a plug in does this, because I removed all the plugins from the directory and get the same error and the process check stops working.

Could this have something to do with the checkcommands.cfg file provided with nagios and the command.cfg file provided with the plugins?
I tried replacing it with no avail.  Could it be something I am not setting, in the object orientated template .cfg files? these are new to me.

I may try recompiling nagios without template files.  I have a feeling this should work because I have Netsaint working great with 20 host and 35 services on the same computer.

Will service checks work, if the host is reporting as being down?

I am running FreeBSD 4.3 on i386 and had to use gmake to install the plugins.

The manual for nagios for the checkcommands.cfg file
example
define command{
	command_name	check_pop
	command_line	/usr/local/nagios/libexec/check_pop -H $HOSTADDRESS$	
	}
Although the checkcommands.cfg-sample reads
define command{
	command_name	check_pop
	command_line	$USERS1$/check_pop -H $HOSTADDRESS$	
	}What variable is $USERS1$The Nagios-plugins have a command.cfg file that is in the old format.I tried all three file possibilities. helpAm I getting warmer?
gomen for the babbling.....
Jason
Thank you again, your help is appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20020715/7129be86/attachment.html>


More information about the Help mailing list