nagios vpn hosts

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:

Re: nagios vpn hosts

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
niccoX
Posts: 9
Joined: Mon Oct 29, 2018 10:51 am

Re: nagios vpn hosts

Post by niccoX »

I attached the syslog by PM.
niccoX
Posts: 9
Joined: Mon Oct 29, 2018 10:51 am

Re: nagios vpn hosts

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: nagios vpn hosts

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
niccoX
Posts: 9
Joined: Mon Oct 29, 2018 10:51 am

Re: nagios vpn hosts

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: nagios vpn hosts

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked