Connection to adress & host refused | NRPE

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kmorelli
Posts: 6
Joined: Tue May 19, 2020 11:58 am

Connection to adress & host refused | NRPE

Post by kmorelli »

I am trying to configure NRPE on a host and my XI server is unable to connect to the host when running check_nrpe

I have confirmed port 5666 is open and listening
I have confirmed NRPE is running on the host
I have confirmed connectivity of the XI server and the host server
Host server is running RHEL 7.5

I have attempted to follow the steps outlined in the NRPE Nagios documentation and looked online for solutions to this problem and none of them are working.
User avatar
jbrunkow
Posts: 441
Joined: Fri Mar 13, 2020 10:45 am

Re: Connection to adress & host refused | NRPE

Post by jbrunkow »

What kind of output do you see if you run the check from XI using the terminal?

Code: Select all

/usr/local/nagios/libexec/check_nrpe -H < host IP >
You may also want to try the command on the remote host as well.

Code: Select all

/usr/local/nagios/libexec/check_nrpe
Use the -h flag to see all of the options.

Code: Select all

/usr/local/nagios/libexec/check_nrpe -h
You may need to specify one or more options, depending on your environment.

How is the check defined in XI? Did you run the Wizard? If you navigate to Configure using the bar on top > click Core Config Manager under Advanced Configuration on the left pane > then click Services under Monitoring > and click on the service we are concerned with > you should see whether the command syntax is correct and passing all the correct arguments. Feel free to share it if you want me to have a look.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked