Nagios plugins error Return code of 127 ...

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
fsaunier
Posts: 1
Joined: Mon Apr 07, 2014 7:28 am

Nagios plugins error Return code of 127 ...

Post 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)
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

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

Post by slansing »

Can we see your check_nrpe definition in commands.cfg, as well as your service definition for this check?
Locked