Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
scottwilkerson
DevOps Engineer
Posts: 19396 Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:
Post
by scottwilkerson » Mon Nov 12, 2018 8:07 am
On the 89.160.16.2 server I would put the IP address of the nagios server on this line instead of the hostname
Code: Select all
allowed_hosts=127.0.0.1, monitor.net.x-xxx.xx
Then restart nrpe
Now try to make a connection, if it fails look in the syslog on the 89.160.16.2 server to see there is any failure messages with a different IP address
niccoX
Posts: 9 Joined: Mon Oct 29, 2018 10:51 am
Post
by niccoX » Mon Nov 12, 2018 10:03 am
I attached the syslog by PM.
niccoX
Posts: 9 Joined: Mon Oct 29, 2018 10:51 am
Post
by niccoX » Mon Nov 12, 2018 10:52 am
Don't know if you are getting my PM, it's still in Outbox.
I don't know if it can, how can I check or that on the Nagios server? It can't reach it, as I get error message when I try: Connection refused by host.
No worries about 3002, I killed it, it's on:
nagios 5182 1 0 15:41 ? 00:00:00 nrpe -c /etc/nagios/nrpe.cfg -d
scottwilkerson
DevOps Engineer
Posts: 19396 Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:
Post
by scottwilkerson » Mon Nov 12, 2018 1:20 pm
They stay in outbox until opened.
We need to verify you can connect to the NRPE IP/port and that the traffic is being routed properly on your host
This can be accomplished running the following where pppp is the port you are connecting to and xxx.xxx.xxx.xxx is the client IP address
niccoX
Posts: 9 Joined: Mon Oct 29, 2018 10:51 am
Post
by niccoX » Tue Nov 13, 2018 3:04 am
From the client not able to be monitored connecting to Nagios server I get an: telnet: Unable to connect to remote host: Connection refused
From the ones that operate I can telnet.
scottwilkerson
DevOps Engineer
Posts: 19396 Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:
Post
by scottwilkerson » Tue Nov 13, 2018 10:45 am
You are going to need to be able to connect FROM the nagios server to the client on the IP and port specified