NRPE refused connection
Posted: Fri Jan 19, 2018 7:05 am
I've exhausted all the avenues I know so I'm turning to the forum for help.
I have a server (dev-int) running NRPE.
I have 2 Nagios servers that can connect without any problem.
I have added a third Nagios server and I get this in the syslog of dev-int running NRPE.
I have added 10.58.2.44 to both the nrpe.cfg file, and the /etc/xinetd.d/nrpe file and restarted both services, but without success. I still get connection refused. I can obviously get to the server or I wouldn't have an entry in the syslog. There's no local firewall that I can detect. Running 'service iptables status' comes back with an unrecognised service.
So something on dev-int is refusing the connection but I haven't a clue what it could be.
Can anyone put me out of my misery please?
I have a server (dev-int) running NRPE.
I have 2 Nagios servers that can connect without any problem.
I have added a third Nagios server and I get this in the syslog of dev-int running NRPE.
Code: Select all
Jan 19 11:41:50 dev-int nrpe[18468]: CONN_CHECK_PEER: checking if host is allowed: 10.58.2.44 port 8360
Jan 19 11:41:50 dev-int nrpe[18468]: is_an_allowed_host (AF_INET): is host >10.58.2.44< an allowed host >10.58.2.44<
Jan 19 11:41:50 dev-int nrpe[18468]: refused connect from 10.58.2.44 (10.58.2.44)So something on dev-int is refusing the connection but I haven't a clue what it could be.
Can anyone put me out of my misery please?