[Nagiosplug-help] Return code of 127 Issues
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
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/
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
# command_name check_ping
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c
$ARG2$ -p 5
use local-service ; Name of
service template to use
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...
More information about the Help