Return code of 127 is out of bounds - plugin may bemissing

Frost, Mark {PBG} mark.frost1 at pepsi.com
Tue Aug 1 20:39:58 CEST 2006


In my case I found this happened once because we used a certain Linux
shared library that was in my path when I executed the plugin by hand,
but when Nagios (which ran with a much more limited environment) tried
to run the plugin, it failed as it could not find that shared library.
 
The solution for us was to add the directory path to that shared library
in an LD_LIBRARY_PATH definition in Nagios' startup script.
 
Mark


________________________________

	From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Rodrigo
Maceno
	Sent: Tuesday, August 01, 2006 1:54 PM
	To: nagios-users at lists.sourceforge.net
	Subject: [Nagios-users] Return code of 127 is out of bounds -
plugin may bemissing
	
	
	Hello, I have a machine where I installed the nagios, the
plugins and the nrpe with tar.gz archives. It runs good. But I installed
the nagios, nagios plugins and the nrpe in another machine with rpm
packages. When I try to monitor this machine with the first, I receive
the follow message: Return code of 127 is out of bounds - plugin may be
missing. 
	I checked the path to the plugins into resource.cfg and it is
correct.
	What do I must to do???
	
	Thanks.
	
 	
	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060801/1c16c001/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list