Return Code 127
Kreig Dubose
KreigD at webex.com
Mon Mar 24 09:03:33 CET 2003
I cured the 127 error by using the $HOST1$ macro instead of the path name.
Now I get:
Status Critical
(No output!)
I've verified that the command runs OK as user nagios and it does return
something:
-bash-2.05b$ ./check_nrpe -H goclnx1 -p 5666 -c check_users
USERS OK - 1 users currently logged in
the perms on the nagios.cmd file are wide open (my understanding as to where
it dumps these types of checks??
-----Original Message-----
From: Ewan Leith [mailto:ejl at man.fwltech.com]
Sent: Thursday, March 06, 2003 5:50 AM
To: 'Kreig Dubose'; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Return Code 127
Return code 127 normally means it either can't find the plugin or it doesn't
have permission to run it - check that the nagios user gets a valid response
from the command line, and if it does, then check that your command.cfg has
the location of the file set correctly.
Ewan
> -----Original Message-----
> From: Kreig Dubose [mailto:KreigD at webex.com]
> Sent: 06 March 2003 12:24
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Return Code 127
>
>
> I'm seeing this error in Service Status Details while using
> check_nrpe.
>
> from CLI:
> [kreigd at goclnx1 libexec]$ ./check_nrpe -H goclnx2 -c
> check_users -to 10
> USERS OK - 2 users currently logged in
> [kreigd at goclnx1 libexec]$
>
> However in status detail it shows:
> (Return code of 127 is out of bounds - plugin may be missing)
>
> I have no idea what status code 127 is, or what it's
> referring to as to how
> it's missing? As you can see it works from the CLI. Here's
> the log message
> it keeps spewing
>
> [1046945879] Warning: Return code of 127 for check of service
> 'check_users'
> on host 'goclnx2' was out of bounds. Make sure the plugin
> you're trying to
> run actually exists.
>
>
> I've tried this across different servers (as above) and on
> the local nagios
> machine with the same results.
>
> TIA
>
> Kreig
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Etnus, makers of
> TotalView, The debugger
> for complex code. Debugging C/C++ programs can leave you
> feeling lost and
> disoriented. TotalView can help you find your way. Available
> on major UNIX
> and Linux platforms. Try it free. www.etnus.com
> _______________________________________________
> 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