Details

    • Bug
    • Resolution: Cannot Reproduce
    • Trivial
    • None
    • Professional Edition
    • Poller

    Description

      Q-BRIDGE-MIB::dot1qVlanStaticUntaggedPorts reports a hex string which is converted to a bit map which idicates ports which are part of a vlan.

      But bit 0 reports port 1, bit 1 reports port 2,...
      So every port is off by one and displayes the vlan of the previous port when $vlan_ifindex_min is used while port 1 is not in the first vlan

      This fixes the issue for me on hundreds of devices

      Attachments

        1. ports_vlan_patch.diff
          1 kB
        2. vlan_debug_discovery
          582 kB
        3. vlan_debug_poller
          1.45 MB

        Activity

          [OBS-1798] Correct VLAN for Interfaces

          Which exactly devices? (what works for you, breaks for many other and vice versa)

          Attach debug output for:

          ./discovery.php -d -m ports,vlans -h <device>
          ./poller.php -d -m ports -h <device>
          

          landy Mike Stupalov added a comment - Which exactly devices? (what works for you, breaks for many other and vice versa) Attach debug output for: ./discovery.php -d -m ports,vlans -h <device> ./poller.php -d -m ports -h <device>

          People

            landy Mike Stupalov
            Phhere Philipp Rehs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: