Hi Guys,
I am having an issue with check_nrpe displaying the wrong result. NRPE is currently running through xinetd.
On Nagios Server
./check_nrpe -H 192.168.2.90 brings back NRPE v2.5.1
On Nagios server, the command that I am running is
./check_nrpe -H 192.168.2.90 -c check_nhost
it displays the following: Nomination Host : OK < - It should say Nomination Host : Problem
On Remote Server:
./check_wxhost nh
Nomination Host : Problem < - The Right Result
My nrpe.cfg is as follows:
command[check_nhost]=/usr/local/nagios/libexec/check_wxhost nh
It is really weird that it is showing a different results, any suggestions on how to fix this?