Return Code 127
Ewan Leith
ejl at man.fwltech.com
Thu Mar 6 13:50:02 CET 2003
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: 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
More information about the Users
mailing list