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

LLD: obsoleted triggers with SNMP value in the name are not deleted when SNMP value changes

    Details

      Description

      Templated LLD doesn't delete triggers and graphs when ifAlias is changed

      snmpwalk -v2c -c public localhost 1.3.6.1.2.1.31.1.1.1.18

      IF-MIB::ifAlias.1 = STRING: lo
      IF-MIB::ifAlias.2 = STRING: eth0

      1. import attached template
      2. create new host and link the template
      3. LLD discover index from ifAlias and create items, triggers, graphs (screenshot 1, 2, 3, 4)
      4. change ifAlias

      snmpset -v2c -c public localhost 1.3.6.1.2.1.31.1.1.1.18.1 s "loopback"
      snmpset -v2c -c public localhost 1.3.6.1.2.1.31.1.1.1.18.2 s "ethernet0"

      5. LLD delete items immediately despite Keep lost resources period is 1 day, and doesn't delete triggers and graphs. Triggers and graphs are duplicated (screenshot 5, 6, 7, 8)

        Attachments

        1. 1-before-host.png
          1-before-host.png
          98 kB
        2. 2-before-items.png
          2-before-items.png
          276 kB
        3. 3-before-triggers.png
          3-before-triggers.png
          136 kB
        4. 4-before-graphs.png
          4-before-graphs.png
          112 kB
        5. 5-after-host.png
          5-after-host.png
          98 kB
        6. 6-after-items.png
          6-after-items.png
          316 kB
        7. 7-after-triggers.png
          7-after-triggers.png
          179 kB
        8. 8-after-graphs.png
          8-after-graphs.png
          130 kB
        9. Template_test_discovery.xml
          16 kB

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kodai Kodai Terashima
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: