MikroTik switches are not discovered

Started by Oliver, September 26, 2019, 04:12:07 PM

Previous topic - Next topic

Oliver

Hello all,

as I'm newly trying out NetXMS this is maybe a basic question.
Setup:
Using the latest version of NetXMS, downloaded yesterday.
We've a local, internal network of PCs which are connected by MikroTik switches (CRS212 and CRS317) and on which SNMP is enabled.
The switches have assigned IP addresses which are in a DIFFERENT subnet than the PCs, i.e. the PC are all reachable by ping from the PC subnet and the switches not (as intended).
Using the Ubuntu command line commands "lldpctl" or "cdpr" for neighbor discovery detects all switches. The same applies for the "arp-scan" command.

The NetXMS server is in the subnet of the PCs and autodiscovery only yields the nodes in the same subnet.
I've added then all switches manually, but NetXMS is not able to get any info from the MikroTik switches.

What needs to be done, that NetXMS discovers also these switches ? (except putting them in the same subnet as the PCs)

Thanks for your answers

Oliver




Tursiops

Being able to detect the switches with Layer 2 protocols like LLDP or CDP does not mean NetXMS can connect to them using SNMP.

If you wish to poll SNMP data on the Microtik switches, the NetXMS server (or a proxy) needs to be able to access the switches IP addresses via SNMP. That means routing must work and any firewall in between must allow that traffic. If you do not want to allow any traffic from your computer into your management network, you can place a single system into the management network, install a NetXMS agent and have it connect back to the NetXMS server using Agent Tunnels, which means the connection will be established from the management network outbound, not the other way around. That system can then be your proxy for the management network and poll all the switches.

However, if all you care about is the data presented to you by using LLDP or CDP, you can create an ExternalParameter on a computer of your choice to run those tools and format the data so that NetXMS can read it.

Oliver

Hello Tursiops,

thanks for your explanations/clarifications. I wanted to be sure not to have overlooked some options in NetXMS for discovery of switches/routers.

So I changed routing such that the MikroTik devices are found and now they are discovered by NetXMS.

Thanks and best regards

Oliver