<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1528" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=718133818-01082006>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.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=718133818-01082006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=718133818-01082006>The solution for us was to add the directory path to 
that shared library in an LD_LIBRARY_PATH definition in Nagios' startup 
script.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=718133818-01082006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=718133818-01082006>Mark</SPAN></FONT></DIV><BR>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> 
  nagios-users-bounces@lists.sourceforge.net 
  [mailto:nagios-users-bounces@lists.sourceforge.net] <B>On Behalf Of 
  </B>Rodrigo Maceno<BR><B>Sent:</B> Tuesday, August 01, 2006 1:54 
  PM<BR><B>To:</B> nagios-users@lists.sourceforge.net<BR><B>Subject:</B> 
  [Nagios-users] Return code of 127 is out of bounds - plugin may 
  bemissing<BR></FONT><BR></DIV>
  <DIV></DIV>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. <BR>I checked the path 
  to the plugins into resource.cfg and it is correct.<BR>What do I must to 
  do???<BR><BR>Thanks.<BR>
  <TABLE height="100%">
    <TBODY>
    <TR>
      <TD><INPUT class=iv onfocus="top.js._HC_FocusDelay(window,'compose')" 
        tabIndex=1> </TD>
      <TD style="WIDTH: 100%; HEIGHT: 100%" 
vAlign=top><BR></TD></TR></TBODY></TABLE></BLOCKQUOTE></BODY></HTML>