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

XMLWordPrintable

      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)

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

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

              Created:
              Updated:
              Resolved: