Page 2 of 2

Re: nagios vpn hosts

Posted: Mon Nov 12, 2018 8:07 am
by scottwilkerson
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

Re: nagios vpn hosts

Posted: Mon Nov 12, 2018 10:03 am
by niccoX
I attached the syslog by PM.

Re: nagios vpn hosts

Posted: Mon Nov 12, 2018 10:52 am
by niccoX
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

Re: nagios vpn hosts

Posted: Mon Nov 12, 2018 1:20 pm
by scottwilkerson
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

Code: Select all

telnet xxx.xxx.xxx.xxx pppp

Re: nagios vpn hosts

Posted: Tue Nov 13, 2018 3:04 am
by niccoX
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.

Re: nagios vpn hosts

Posted: Tue Nov 13, 2018 10:45 am
by scottwilkerson
You are going to need to be able to connect FROM the nagios server to the client on the IP and port specified