Hey Guys,
I have been wrestling with this since 3 am this morning. I am trying this to confirm that NRPE is working properly -> /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -c check_load and i am getting this ->
connect to address 127.0.0.1 port 5666: Connection refused
connect to host 127.0.0.1 port 5666: Connection refused
Here is the config line regarding this
server_address=192.xxx.xxx.xxx
allowed_hosts=127.0.0.1,192.xxx.xxx.xxx
firewall is not on/started so I know that's not it. Also I am on an Ubuntu Server 18.04 LTS
Let me know please,
Thanks,
Connection Refused NRPE
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Connection Refused NRPE
Hello @nexusguy59
Please verify that you've added your Nagios server address in the NRPE configuration file /usr/local/nagios/etc/nrpe.cfg. So if your Nagios core server is 192.168.1.1, edit the following line:
Then run a nmap scan to verify that port 5666 is open:
NRPE - Connection Refused Or Timed Out
https://support.nagios.com/kb/article/n ... t-626.html
Let me know if you're able to get it resolved.
Please verify that you've added your Nagios server address in the NRPE configuration file /usr/local/nagios/etc/nrpe.cfg. So if your Nagios core server is 192.168.1.1, edit the following line:
Code: Select all
allowed_hosts=127.0.0.1, 192.168.1.1Code: Select all
nmap <remote host ip> -Pn -p 5666s
https://support.nagios.com/kb/article/n ... t-626.html
Let me know if you're able to get it resolved.
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!