Page 1 of 1

Unable to remotely check a host using NRPE Plug-in

Posted: Mon Jun 02, 2014 9:04 am
by Tek71
I have just installed Nagios Core 4.0.6 and am attempting to set up my first Remote Linux Host for monitoring using NRPE.

I followed the instructions in the NRPE.pdf file and am now at the stage where I am testing the base remote checks (check_load, etc.).

When I run the command locally on the remote host, check load returns correctly.

When I run the command manually on the nagios server, check load returns correctly.

On the web interface, I am seeing the "(Return code of 255 is out of bounds)" error.

Some background:
The Nagios server is SLES 11 SP3, as is the Remote Host. The Remote Host was previously configured to talk to our old Nagios server, but I re-compiled the Nagios plug-ins and the the NRPE plug-in.

Any ideas?, or please request more information if needed to troubleshoot.

Thanks,
Tek71

Re: Unable to remotely check a host using NRPE Plug-in

Posted: Mon Jun 02, 2014 10:01 am
by abrist
Can you post the command definitional, service check definition, the remote host's nrpe.cfg, and an output from running the nrpe check from the nagios server?

Re: Unable to remotely check a host using NRPE Plug-in

Posted: Mon Jun 02, 2014 10:48 am
by Tek71
abrist wrote:Can you post the command definitional, service check definition, the remote host's nrpe.cfg, and an output from running the nrpe check from the nagios server?
Sorry, guys. Another pair of eyes looking at the config spotted that I was defining the address of the remote host incorrectly in the host definition on the nagios server. Once this was corrected, hey presto! the checks all worked. Thanks anyway,

Tek 71