Unable to remotely check a host using NRPE Plug-in

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
Tek71
Posts: 2
Joined: Mon Jun 02, 2014 8:51 am

Unable to remotely check a host using NRPE Plug-in

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

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

Post 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?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Tek71
Posts: 2
Joined: Mon Jun 02, 2014 8:51 am

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

Post 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
Locked