Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-13065

LLD incorrectly returns SNMPINDEX values

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Workaround proposed
    • Icon: Trivial Trivial
    • None
    • 3.4.4
    • Proxy (P), Server (S)
    • Debian 9.2

      Steps to reproduce:
      Use the built-in template on a cisco switch which also has virtual interfaces configured.
      The discovery rule under linked template Template Module EtherLike-MIB SNMPv2 will discover interfaces based on other OID than set:

      Discovery rule is:

      discovery[{#SNMPVALUE},1.3.6.1.2.1.10.7.2.1.19,{#IFOPERSTATUS},1.3.6.1.2.1.2.2.1.8,{#IFALIAS},1.3.6.1.2.1.31.1.1.1.18,{#IFNAME},1.3.6.1.2.1.31.1.1.1.1,{#IFDESCR},1.3.6.1.2.1.2.2.1.2]
      

      Then #SNMPINDEX should contain vaules from the first OID, ie. 1.3.6.1.2.1.10.7.2.1.19, however, it contains values from the 1.3.6.1.2.1.31.1.1.1.1. This can be an issue when the switch has vlans which are interfaces and are reported as IFNAME but they do not have status duplex and are not reported under oid 1.3.6.1.2.1.10.7.2.1.19, in other words, the interfaces reported by 1.3.6.1.2.1.10.7.2.1.19 and by 1.3.6.1.2.1.31.1.1.1.1 are not the same. But as #SNMPVALUE is assigned to 1.3.6.1.2.1.10.7.2.1.19 #SNMPINDEX should follow this OID.
      This is either a bug or missing documentation on how #SNMPINDEX is processed when discovery[] has more OIDs.

        1. 1.3.6.1.2.1.10.7.2.1.19-dot3StatsDuplexStatus.txt
          8 kB
          Markus Falb
        2. 1.3.6.1.2.1.2.2.1.2-ifDescr.txt
          10 kB
          Markus Falb
        3. 1.3.6.1.2.1.2.2.1.8-ifOperStatus.txt
          8 kB
          Markus Falb
        4. split-lld-discovery.png
          46 kB
          Aigars Kadikis

            Unassigned Unassigned
            leosenko Leos Pohl
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: