Return Code of 127

Parameshwar parmy at WSSPL.com
Thu Mar 13 11:09:10 CET 2003


Hi,
    We are struck by the wierd message which says that "Return code of 127
is out of bounds - plugin may be missing". As answered by one of our maling
list members, I tested running the script "check_ping" from outside as both
"nagios" and "root". Does the file permission has problem? Please help me to
solve this basic problem from which I can start exploring the product. The
faq, does not highlight our problem any where. So please help us to by in
sync with you guys.

-Parmy

-----Original Message-----
From: Parameshwar 
Sent: Monday, March 10, 2003 2:39 PM
To: 'Exsilia Internet Services'
Subject: RE: [Nagios-users] Return Code of 127


check_ping plugin can be ran by the nagios user.

-Parmy

-----Original Message-----
From: Exsilia Internet Services [mailto:info at exsilia.net]
Sent: Monday, March 10, 2003 2:04 PM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Return Code of 127


Hello,

>    This is my very first question to the mailing list. Hope this mailing
> list helps me to solve the problems which I am facing at present. I have
> installed and configured nagios-1.0 with the nagiosplug-1.3. Looks like
> the basic plugin "check_ping" is not working for me. It works fine from
> the command prompt but not from the services.cfg file due to which I am
> not able to proceed further. The status of the host is displayed as
> "Down" even when it can be pinged. The status information states some
> thing like this "Return code of 127 is out of bounds - plugin may be
> missing". Please help me how to go about it.

I had this problem with the notification tools I use (sms_client). If
everything is alright nagios runs as a non-root user, ie. 'nagios'. Could
you verify if the check_ping plugin can be ran by the nagios user? Also,
if you have added/removed/changed any subgroups the Nagios user is in, you
have to restart Nagios!

Hope this helps.





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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




-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
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