Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-963

Q-BRIDGE-MIB vlan mapping code incorrectly assumes ifIndex starts with 0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • None
    • None

    Description

      None of the devices I own have ifIndexes that begin with 0 (arista, HP, brocade/foundry). Mainly noticed this with my Brocade devices as the vlan to port mappings were off.

      I've attached a patch that uses the $vlan_ifindex_map someone setup but didn't complete implementation. This patch looks in the lowest index of $vlan_ifindex_map for the dot1dBasePortIfIndex to determine the lowest possible ifIndex and adds that to the index used to assign vlans found to ports as an offset.

      I recommend not blindly accepting this patch and testing it in your own environment to ensure it doesn't break your stuff.

      Attachments

        Activity

          People

            landy Mike Stupalov
            cheethoe Michael Hsu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: