[Nagiosplug-help] Return code of 127 Issues

Rob Gilreath kicker4 at gmail.com
Fri Nov 7 18:44:07 CET 2008

I've dug through the old posts with this issue, but nothing seems to be
helping me...

I've checked the permissions on the check commands, run the command as the
nagios user from a shell. I've even tried to run nagios as root... I still
get the 127 return code out of bounds. I'll use check_ping as my example..

Here's some config stuff:

netmon nagios # ls -al /usr/nagios/libexec/
total 1344
drwxr-x--- 3 nagios nagios  4096 Nov  7 09:57 .
drwxr-xr-x 6 nagios nagios  4096 Nov  6 13:33 ..
-rwxrwxrwx 1 nagios nagios 34604 Nov  7 09:40 check_ping

netmon nagios # cat /etc/nagios/resource.cfg | grep USER1
# Nagios supports up to 32 $USERx$ macros ($USER1$ through $USER32$)
# Sets $USER1$ to be the path to the plugins


# 'check_ping' command definition
define command{
#        command_name    check_ping
        command_name    check_ping
        command_line    $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c
$ARG2$ -p 5


define service{
        use                             local-service         ; Name of
service template to use
        hostgroup_name                  windows_servers
        service_description             PING
        check_command                   check_ping!100.0,20%!500.0,60%

Anything else for troubleshootng that would help... I'd like to stop banging
my head up against the wall?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20081107/66e9ebf2/attachment.html>

More information about the Help mailing list