<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2716.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello list,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> I'm trying to use
"check_ifoperstatus" to check the serial interfaces on my router as well as some
switches here. I checked all the plugins in the
"/usr/local/nagios/libexec/" dir and everything is owned by nagios. I was even
able to log in as the nagios user and execute the plugins. However, in the
services.cfg file I have it hardcoded just to test as follows:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>define
command{<BR>
command_name
check_ifoperstatus_int1<BR>
command_line $USER1$/check_ifoperstatus -k 2 -H xx.xx.xx.xx
-C blah<BR> }</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>But, for some reason I keep checking the website
and under the service problems I keep receiving "<!--StartFragment --><FONT
face="Times New Roman" size=3><TD class=statusBGCRITICAL></TD><TD
class=statusBGCRITICAL>(Return code of 127 is out of bounds - plugin may be
missing)". If I am able to run the command as the "nagios" user, why would
the running daemon have a problem executing this command? Any insight
would be very much appreciated. Thanks!</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman"
size=3></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>-
Jeff</TD></FONT></DIV>
<DIV><BR></DIV></FONT></BODY></HTML>