Hi everbybody! ))
I have some troubles using nrpe addon for nagios.
all changes in my config-files are “copy-paste” from the README file.
in checkcommands.cfg:
define command {
command_name check_nrpe
command_line /usr/local/nagion/libexec/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
}
in services.cfg:
define service {
use generic-service
host_name gate
…
check_command check_nrpe!check_chk
}
where check_chk is simple check_ping with my args to ping remote office.
if i run in shell:
./check_nrpe -H ip -c check_chk
it returns
PING OK - Packet loss = 0%, RTA = 2.03 ms
but nagios show me this CRITICAL message:
(Return code of 127 is out of bounds - plugin may be missing)
what i made wrong?
P.S. Nagios 2.0b3, FreeBSD 6.0-STABLE
P.P.S. sorry for my terrible english
Edited ]