Page 1 of 1

Nagios plugins error Return code of 127 ...

Posted: Mon Jun 02, 2014 6:17 am
by fsaunier
Hi,

i'm working on Nagios Core 3.3.1.
i'm using check_nrpe to check hosts.

from the client, the configuration is ok:
the functional of plugins is ok, nrpe.cfg is OK:
/opt/nagios/libexec/check_disk -w 20 -c 10 /var
--> DISK OK - free space: /var 28305 MB (98% inode=99%);| /var=396MB;30217;30227;0;30237

from the server:
./check_nrpe -H host_to_check -p 5665 -c check_disk
DISK OK - free space: /var 28305 MB (98% inode=99%);| /var=396MB;30217;30227;0;30237
resource.cfg is ok.

but on the web interface, i have this:

(Return code of 127 is out of bounds - plugin may be missing)

Re: Nagios plugins error Return code of 127 ...

Posted: Mon Jun 02, 2014 11:08 am
by slansing
Can we see your check_nrpe definition in commands.cfg, as well as your service definition for this check?