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

Items discovered by LLD rule are created without tags

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Critical Critical
    • 6.2.0rc3, 6.4 (plan)
    • 6.2.0rc2
    • Server (S)
    • None
    • Sprint 89 (Jun 2022), Sprint 90 (Jul 2022)
    • 0.125

      Steps to reproduce:

      1. Create a new LLD rule
      2. Create item prototype with tags
      3. Execute discovery rule

      Result:
      Items are created, but they do not have tags

      Zabbix log file reports that item tags are added, but they do not appear in database

      216891:20220628:102852.847 In lld_items_tags_save()
      216891:20220628:102852.847 In DBget_nextid() tablename:'item_tag'
      216891:20220628:102852.847 query [txnlev:1] [select nextid from ids where table_name='item_tag' and field_name='itemtagid']
      216891:20220628:102852.848 query [txnlev:1] [update ids set nextid=nextid+6 where table_name='item_tag' and field_name='itemtagid']
      216891:20220628:102852.851 query [txnlev:1] [select nextid from ids where table_name='item_tag' and field_name='itemtagid']
      216891:20220628:102852.851 End of DBget_nextid():76037 table:'item_tag' recid:'itemtagid'
      216891:20220628:102852.851 End of lld_items_tags_save() added:6 updated:0 removed:0
      216891:20220628:102852.851 query [txnlev:1] [commit;]
      

      Expected:
      Items are created with all tags defined in item prototypes

        1. image-2022-06-28-13-51-50-992.png
          22 kB
          Kaspars Mednis
        2. image-2022-06-28-13-52-47-336.png
          32 kB
          Kaspars Mednis

            vso Vladislavs Sokurenko
            kaspars.mednis Kaspars Mednis
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: