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
Unable to remotely check a host using NRPE Plug-in
Re: Unable to remotely check a host using NRPE Plug-in
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.
"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.
Re: Unable to remotely check a host using NRPE Plug-in
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,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?
Tek 71