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

CIDR-notation IP address in linkd causes exception

    Details

      Description

      Somehow linkd scanning is creating an IP address that has a '/22' appended to the end of the address. :-/ It looks like this exception is being caught by the thread pool, indicating that the scan of this node is probably aborting once the error occurs.

      2011-11-14 10:12:44,227 WARN [LinkdScheduler-5 Pool-fiber2] HibernateEventWriter: processIpNetToMediaTable: no node found for IP address 74.0.0.54.
      2011-11-14 10:12:45,592 WARN [LinkdScheduler-5 Pool-fiber2] HibernateEventWriter: processDot1DBase: Invalid base bridge address: null
      2011-11-14 10:12:45,901 ERROR [LinkdScheduler-5 Pool-fiber2] RunnableConsumerThreadPool$FiberThreadImpl: No error listeners defined for unexpected error: java.lang.IllegalArgumentException: Invalid IPAddress 10.0.0.0/22
      java.lang.IllegalArgumentException: Invalid IPAddress 10.0.0.0/22
      at org.opennms.core.utils.InetAddressUtils.getInetAddress(InetAddressUtils.java:152)
      at org.opennms.netmgt.linkd.RouterInterface.<init>(RouterInterface.java:50)
      at org.opennms.netmgt.linkd.HibernateEventWriter.getNodeidMaskFromIp(HibernateEventWriter.java:418)
      at org.opennms.netmgt.linkd.AbstractQueryManager.processRouteTable(AbstractQueryManager.java:308)
      at org.opennms.netmgt.linkd.HibernateEventWriter.storeSnmpCollection(HibernateEventWriter.java:206)
      at org.opennms.netmgt.linkd.Linkd.updateNodeSnmpCollection(Linkd.java:572)
      at org.opennms.netmgt.linkd.SnmpCollection.run(SnmpCollection.java:522)
      at org.opennms.netmgt.linkd.scheduler.Scheduler$1.run(Scheduler.java:301)
      at org.opennms.core.concurrent.RunnableConsumerThreadPool$FiberThreadImpl.run(RunnableConsumerThreadPool.java:420)
      at java.lang.Thread.run(Thread.java:662)
      2011-11-14 10:12:54,181 WARN [LinkdScheduler-5 Pool-fiber1] HibernateEventWriter: processIpNetToMediaTable: no node found for IP address 64.0.0.137.

        Attachments

          Activity

            People

            • Assignee:
              seth Seth Leger
              Reporter:
              seth Seth Leger
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: