How to stop secondary interfaces showing up on L3 Map
-
I have a Cisco switch that has an interface (vlan) with two IP addresses attached.
2 Objects show up in the device tree after auto discovery, and even though I have set the object with the secondary IP to unmanaged, and deleted it from the L3 map, it keeps popping back up and makes the diagram confusing.
Of course just deleting the object itself means it will turn up again as managed after the next auto discovery.How can I stop this from happening while keeping the L3 map dynamic?
Can I use an object filter and exclude the secondary IP somehow? To be honest, I would prefer if the object doesn't show up in the device tree at all, while keeping auto discovery enabled.Thanks,
-
Hi,
does NetXMS server has SNMP access to this Cisco device? Because normally it should read all configured addresses via SNMP and not attempt to create separate nodes for each known IP address.
If for some reason device is not accessible via SNMP, you can block secondary address in discovery filter. You can set discovery filter to script, and use script like this:
if ($node->ipAddr == "1.2.3.4") return false; return true;you can also use hook script Hook::AcceptNewNode for this, just add the following line to it:
return $ipAddr != "1.2.3.4";(of course replace 1.2.3.4 with actual IP address).
Best regards,
Victor -
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login