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

SNMP LLD creates duplicated items for "complex" indexes

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • None
    • None
    • Proxy (P), Server (S)
    • None
    • Sprint 52 (May 2019), Sprint 53 (Jun 2019)

      You have an SNMP device with this information:

      .1.3.6.1.2.1.4.20.1.1.192.168.33.101 = IpAddress: 192.168.33.101
      .1.3.6.1.2.1.6.13.1.3.192.168.33.101.22.192.168.33.1.54979 = INTEGER: 22
      .1.3.6.1.2.1.6.13.1.1.192.168.33.101.22.192.168.33.1.54979 = INTEGER: established(5)

      You would like to use "Interface 192.168.33.101(22): status" item name and monitor status for each discovered IP (i.e. established). It looks like this LLD should do the trick:

      discovery[{#VALUE},1.3.6.1.2.1.6.13.1.3,{#IP},1.3.6.1.2.1.4.20.1.1]

      It won't.

      Steps to reproduce:

      1. Import attached template
      2. Configure snmpd on a Linux host
      3. Import template, link it and use "check now" for the LLD

      Result:
      2 items were created: see "duplicates" screenshot.

      Expected:
      One item with a correct name, key and OID should be created (i.e. NAME: "Interface 192.168.33.101(22): status", KEY: "status[192.168.33.101.22.192.168.33.1.54979]", OID: .1.3.6.1.2.1.6.13.1.1.192.168.33.101.22.192.168.33.1.54979)

            vladislavs.boborikins Vladislavs Boborikins (Inactive)
            oleg.ivanivskyi Oleg Ivanivskyi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: