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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rodrigo Maceno
Sent: Tuesday, August 01, 2006 1:54 PM
To: [email protected]
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.

-------------------------------------------------------------------------
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
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to