Search found 9 matches

by niccoX
Tue Nov 13, 2018 3:04 am
Forum: Open Source Nagios Projects
Topic: nagios vpn hosts
Replies: 15
Views: 3792

Re: nagios vpn hosts

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.
by niccoX
Mon Nov 12, 2018 10:52 am
Forum: Open Source Nagios Projects
Topic: nagios vpn hosts
Replies: 15
Views: 3792

Re: nagios vpn hosts

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 /et...
by niccoX
Mon Nov 12, 2018 10:03 am
Forum: Open Source Nagios Projects
Topic: nagios vpn hosts
Replies: 15
Views: 3792

Re: nagios vpn hosts

I attached the syslog by PM.
by niccoX
Mon Nov 12, 2018 8:03 am
Forum: Open Source Nagios Projects
Topic: nagios vpn hosts
Replies: 15
Views: 3792

Re: nagios vpn hosts

log_facility=daemon pid_file=/var/run/nagios/nrpe.pid server_port=5666 nrpe_user=nagios nrpe_group=nagios allowed_hosts=127.0.0.1, monitor.net.x-xxx.xx dont_blame_nrpe=0 debug=1 command_timeout=60 connection_timeout=300 # webchecker for external websites include=/etc/nagios/nrpe_local.cfg include_d...
by niccoX
Mon Nov 12, 2018 7:24 am
Forum: Open Source Nagios Projects
Topic: nagios vpn hosts
Replies: 15
Views: 3792

Re: nagios vpn hosts

Ok, on this remote server can you see if any of the requests are getting there by looking at the system log? with a command such as grep nrpe /var/log/messages Also, is this nrpe daemon running under initd, systemd, or xinetd? And is the port you are checking somehow mapped to port 5666 on this rem...
by niccoX
Wed Oct 31, 2018 10:12 am
Forum: Open Source Nagios Projects
Topic: nagios vpn hosts
Replies: 15
Views: 3792

Re: nagios vpn hosts

scottwilkerson wrote:Is the client a Linux or Windows host?
We have both, this in particular I'm testing with is a Linux client, it's on the same IP as the Core server, but on a different port.

npre.cfg has it as an allowed host already:

Code: Select all

allowed_hosts=127.0.0.1, monitor.net.o-xxx.xx
by niccoX
Wed Oct 31, 2018 9:41 am
Forum: Open Source Nagios Projects
Topic: nagios vpn hosts
Replies: 15
Views: 3792

Re: nagios vpn hosts

He, of course on the client...
by niccoX
Wed Oct 31, 2018 9:37 am
Forum: Open Source Nagios Projects
Topic: nagios vpn hosts
Replies: 15
Views: 3792

Re: nagios vpn hosts

I have neither of these files. I have nagios.cfg and cgi.cfg[.

Should I add an entry in nagios.cfg as:

allowed_hosts=127.0.0.1,192.168.0.140

If I add one IP would I need to add all clients that are monitored, those with no VPN as well?
by niccoX
Mon Oct 29, 2018 10:57 am
Forum: Open Source Nagios Projects
Topic: nagios vpn hosts
Replies: 15
Views: 3792

nagios vpn hosts

I have a server which I now run through a VPN, ever since, it has lost the connection with the Nagios server. root@monitor:/usr/lib/nagios/plugins$ ./check_nrpe -H 89.160.16.2 -p2222 Connection refused by host I don't know where to begin to allow the host to be able to be checked by the nagios serve...