Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-6774

Exception thrown while running CDP discovery on Enhanced Linkd

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.13.4
    • 14.0.0
    • Enhanced Linkd / Linkd
    • Security Level: Default (Default Security Scheme)
    • None
    • Clean master installation compiled on Friday August 9th.

    Description

      I have a small virtual Cisco network built with GNS3 and I'd like to see if the CDP information required for Links are populated on the database.

      The CDP discover is being executed but the tables are empty. I found several exceptions on output.log related with the CDP discover. Here is an example:

      Exception in thread "Scheduler-Thread-2-of-5" java.lang.IllegalArgumentException: Cannot create TruthValue from null code
              at org.opennms.netmgt.model.OspfElement$TruthValue.get(OspfElement.java:65)
              at org.opennms.netmgt.enlinkd.snmp.CdpGlobalGroupTracker.getCdpElement(CdpGlobalGroupTracker.java:133)
              at org.opennms.netmgt.enlinkd.NodeDiscoveryCdp.runCollection(NodeDiscoveryCdp.java:103)
              at org.opennms.netmgt.enlinkd.NodeDiscovery.run(NodeDiscovery.java:121)
              at org.opennms.netmgt.linkd.scheduler.Scheduler$1.run(Scheduler.java:209)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at org.opennms.core.concurrent.LogPreservingThreadFactory$3.run(LogPreservingThreadFactory.java:124)
              at java.lang.Thread.run(Thread.java:745)
      

      I'm not sure how that part works, but cdpGlobalRun returns something if I query the virtual devices:

      Attachments

        Activity

          People

            agalue Alejandro Galue
            agalue Alejandro Galue
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: