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

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

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

          [OBS-963] Q-BRIDGE-MIB vlan mapping code incorrectly assumes ifIndex starts with 0
          landy Mike Stupalov made changes -
          Workflow Original: classic default workflow [ 11823 ] New: Observium workflow [ 14237 ]
          landy Mike Stupalov made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          landy Mike Stupalov made changes -
          Labels New: patch vlan
          landy Mike Stupalov made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          landy Mike Stupalov made changes -
          Assignee Original: Adam Armstrong [ adama ] New: Mike Stupalov [ landy ]
          cheethoe Michael Hsu created issue -

          People

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

            Dates

              Created:
              Updated:
              Resolved: