Page 1 of 1

Check_NRPE command is not running on Client Server

Posted: Mon Apr 03, 2017 11:13 pm
by venugopaldigital
Hi
I have two servers
1.Nagios server (Where we installed Nagios) 192.168.168.133
2.Client Server (Where we installed NRPE plugin version 2.14) 192.168.18.135

When I ran the command check_NRPE as show in the attachement, it is always running on Nagios server and not on the client machine.ie.It is fetching the version from Nagios Server and not from the client server.
Please suggest.

Thanks
Venu

Re: Check_NRPE command is not running on Client Server

Posted: Tue Apr 04, 2017 11:21 am
by mcapra
Can you share the output of the following commands executed from the CLI of your Nagios XI machine:

Code: Select all

/usr/local/nagios/libexec/check_nrpe
/usr/local/nagios/libexec/check_nrpe -H 192.168.168.133 
/usr/local/nagios/libexec/check_nrpe -H 192.168.168.135
ps aux | grep nrpe
px aux | grep xinetd

Re: Check_NRPE command is not running on Client Server

Posted: Tue Apr 04, 2017 10:06 pm
by venugopaldigital
From these commands I am getting the correct values.But facing the problem when I run from the UI.
thanks
Venu

Re: Check_NRPE command is not running on Client Server

Posted: Wed Apr 05, 2017 11:39 am
by mcapra
Testing commands from the GUI with "Run Check Command" isn't always reliable. As long as your check command definition matches what's working in the CLI, you should be fine.

Are you seeing errors on the service status page as well?