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

linkd ignores <specific> in <iproutes> section of config file

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.7
    • Fix Version/s: 1.9.93
    • Component/s: Enhanced Linkd / Linkd
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:

      Description

      in linkd-configuration.xml the section

      <iproutes>
      <vendor vendor_name="cisco" sysoidRootMask= "
      class-name="org.opennms.netmgt.linkd.snmp.IpCidrRouteTable">
      <specific>1.658</specific>
      </vendor>
      </iproutes>

      should limit use of the ipCidrRouteTable to only cisco devices with sysoid ".1.3.6.1.4.1.9.1.658
      However, it appears to apply to all cisco devices. Here's a log entry as an example for a cisco device that is NOT 1.658:

      2010-12-22 16:21:03,207 DEBUG [Main] LinkdConfigFactory: interfaceInPackage: Interface 128.193.210.146 in package example1?: True
      2010-12-22 16:21:03,209 DEBUG [Main] Linkd: populateSnmpCollection: found class to get ipRoute: org.opennms.netmgt.linkd.snmp.IpCidrRouteTable

      However if I remove the <iproutes> section entirely then the same node uses the default.

      2010-12-23 10:35:19,023 DEBUG [Main] LinkdConfigFactory: interfaceInPackage: Interface 128.193.210.146 in package example1?: True
      2010-12-23 10:35:19,024 DEBUG [Main] Linkd: populateSnmpCollection: Using default class to get ipRoute: org.opennms.netmgt.linkd.snmp.IpRouteTable

        Attachments

          Activity

            People

            • Assignee:
              seth Seth Leger
              Reporter:
              ayresw@gmail.com Bill Ayres
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: