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.
Connection to adress & host refused | NRPE
Re: Connection to adress & host refused | NRPE
What kind of output do you see if you run the check from XI using the terminal?
You may also want to try the command on the remote host as well.
Use the -h flag to see all of the options.
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.
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H < host IP >Code: Select all
/usr/local/nagios/libexec/check_nrpeCode: Select all
/usr/local/nagios/libexec/check_nrpe -hHow 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!
Be sure to check out our Knowledgebase for helpful articles and solutions!