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.
Starting Nmap 6.47 ( http://nmap.org ) at 2016-05-18 10:55 AEST
Nmap scan report for centos01 (10.25.13.10)
Host is up (0.00031s latency).
rDNS record for 10.25.13.10: centos01.box293.local
PORT STATE SERVICE
5666/tcp open nrpe
MAC Address: 00:50:56:AB:89:1C (VMware)
Nmap done: 1 IP address (1 host up) scanned in 0.11 seconds
This being open is what you need to see: 5666/tcp open nrpe
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Starting Nmap 6.47 ( http://nmap.org ) at 2016-05-18 10:55 AEST
Nmap scan report for centos01 (10.25.13.10)
Host is up (0.00031s latency).
rDNS record for 10.25.13.10: centos01.box293.local
PORT STATE SERVICE
5666/tcp open nrpe
MAC Address: 00:50:56:AB:89:1C (VMware)
Nmap done: 1 IP address (1 host up) scanned in 0.11 seconds
This being open is what you need to see: 5666/tcp open nrpe
It does indeed say open, I ran this command from the actual 10.0.60.10 server, if I run it from the other nagios server which is monitoring that one I get a filtered output.
Then it's not the firewall on the ubuntu box. There is something between the two Nagios servers blocking port 5666. Make sure you check the rules in both directions.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
More likely something in-between the two devices as @Box293 mentioned. Do you have any sort of FW on the switch/router between them? Anything they proxy through, or an IDS/IPS of any kind?
tmcdonald wrote:More likely something in-between the two devices as @Box293 mentioned. Do you have any sort of FW on the switch/router between them? Anything they proxy through, or an IDS/IPS of any kind?
There are 2 LAN's
They are virtualized on a blade provided for us, each LAN has a firewall and lan B also has a DMZ.
Between these there is also a VPN connection, port 5666 is open on both firewalls since monitoring other windows/ubuntu servers/hosts works fine.
Can you attempt to run a telnet and see what happens? Please post the result for us to see. As we've all mentioned, I don't believe this is a network issue.
Are the devices that are working on the same subnet as the machine you're unable to monitor?
tmcdonald wrote:More likely something in-between the two devices as @Box293 mentioned. Do you have any sort of FW on the switch/router between them? Anything they proxy through, or an IDS/IPS of any kind?
There are 2 LAN's
They are virtualized on a blade provided for us, each LAN has a firewall and lan B also has a DMZ.
Between these there is also a VPN connection, port 5666 is open on both firewalls since monitoring other windows/ubuntu servers/hosts works fine.
It might be helpful to draw a diagram that explains this topology, explaining what ports have been opened in what direction.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
SaltyBear wrote:we opened the ports on the firewall, not sure what you mean pfsense/OBSD?
I believe the issue here is that @saltybear thinks everyone is talking about his pfsense firewall and not the iptables firewall on the ubuntu nagios box
and @saltybear never opened the firewall on the ubuntu box
SaltyBear wrote:
I didn't run the first 2 commands
also somewhere he says thatg he can connect to 5666 from the affected server but not elsewhere, this is also consistent with not having allowed iptables firewall rule
an he has confirmed that other hosts on that side of the network can be monitored via port 5666
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis