Problem with displaying MAC address table of switches
Description
Environment
Acceptance / Success Criteria
Attachments
Lucidchart Diagrams
Activity

Antonio Russo March 11, 2017 at 4:00 PM
This is a duplication of the
.
Check that issue that has been fixed

Tobias König February 13, 2017 at 4:20 AM
Yes, I have those exceptions:
Exception in thread "EnhancedLinkd-Thread-3-of-5" java.lang.NullPointerException
at org.opennms.netmgt.enlinkd.NodeDiscoveryBridgeTopology.run(NodeDiscoveryBridgeTopology.java:573)
at org.opennms.netmgt.enlinkd.scheduler.Scheduler$1.run(Scheduler.java:191)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.opennms.core.concurrent.LogPreservingThreadFactory$3.run(LogPreservingThreadFactory.java:124)
at java.lang.Thread.run(Thread.java:745)
I'll try your workaround.

Antonio Russo February 13, 2017 at 4:14 AM
I'm quite sure the issue is related to something wrong in doing topology discovery the second time.
the first attempt is successufull but after rescan interval has passed when running again discovery there is a NPE. This prevents the work to be completed successufully.
You can workaround this just using a rescan interval higher....(if topology is not changed you do not need to run the calculation again...so wait until topology discovery id finished the first time. and then disable enlinkd!)

Antonio Russo February 13, 2017 at 4:10 AM
Tobias do you have checked output.log for NullPointerException like reported in NMS-8973?

Antonio Russo January 12, 2017 at 1:30 PM
I guess the problem is I have a side effect removing the links from both bridgebridgelink and bridgemaclink too.
Please check output.log for NPE.
I have a lot of HP procurve switches. When the switches are new discovered, enlinkd is able to display the complete MAC table of the switches, when I go to "View Node Link Detailed Info" in the "Bridge Forwarding Table Links found by Enhanced Linkd" section. Somewhat after, this data isn't shown anymore.
I'm trying different mapping methods, lldp is working so far, but seeing the mac table would still be very usefull. jeffg in the opennms chat mentioned that this could be a bug and requestet some snmp dumps of my switches. I've attached a zip file with some dumps. All of them were showing the data correctly yesterday, today only one is showing it (the one with "ok" at the end of the filename).