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

Error during LLD processing when applications are updated

XMLWordPrintable

      Steps to reproduce:

      1. Create LLD with macros and item prototypes
      2. Use LLD macro in Application prototype. For example: Application prototype: {#APP.NAME}
      3. Run LLD and wait discovery items
      4. Rename the source objects used in LLD macro in Application prototype so that only the case of characters is changed. For example, if there are {#APP.NAME} = "app1", then you need rename it to {#APP.NAME} = "APP1"
      5. Run LLD and wait discovery items
      6. Errors in server logs when updating Applications and items are not updated:
      zabbix_server [24048]: ERROR [file:lld_item.c,line:4775] Something impossible has just happened.
      24048:20191101:100900.922 === Backtrace: ===
      24048:20191101:100900.922 11: /usr/sbin/zabbix_server: lld worker #1 [processed 3 LLD rules, idle 7.680348 sec during 7.718517 sec](zbx_backtrace+0x42) [0x563eb48a6230]
      24048:20191101:100900.922 10: /usr/sbin/zabbix_server: lld worker #1 [processed 3 LLD rules, idle 7.680348 sec during 7.718517 sec](+0x120ef1) [0x563eb481fef1]
      24048:20191101:100900.922 9: /usr/sbin/zabbix_server: lld worker #1 [processed 3 LLD rules, idle 7.680348 sec during 7.718517 sec](lld_update_items+0x1d3) [0x563eb4821702]
      24048:20191101:100900.923 8: /usr/sbin/zabbix_server: lld worker #1 [processed 3 LLD rules, idle 7.680348 sec during 7.718517 sec](lld_process_discovery_rule+0x3e7) [0x563eb4805e16]
      24048:20191101:100900.923 7: /usr/sbin/zabbix_server: lld worker #1 [processed 3 LLD rules, idle 7.680348 sec during 7.718517 sec](+0x104b9a) [0x563eb4803b9a]
      24048:20191101:100900.923 6: /usr/sbin/zabbix_server: lld worker #1 [processed 3 LLD rules, idle 7.680348 sec during 7.718517 sec](lld_worker_thread+0x35c) [0x563eb48042cb]
      24048:20191101:100900.923 5: /usr/sbin/zabbix_server: lld worker #1 [processed 3 LLD rules, idle 7.680348 sec during 7.718517 sec](zbx_thread_start+0x37) [0x563eb48b3b23]
      24048:20191101:100900.923 4: /usr/sbin/zabbix_server: lld worker #1 [processed 3 LLD rules, idle 7.680348 sec during 7.718517 sec](MAIN_ZABBIX_ENTRY+0xf9e) [0x563eb47410d5]
      24048:20191101:100900.923 3: /usr/sbin/zabbix_server: lld worker #1 [processed 3 LLD rules, idle 7.680348 sec during 7.718517 sec](daemon_start+0x305) [0x563eb48a5a5d]
      24048:20191101:100900.923 2: /usr/sbin/zabbix_server: lld worker #1 [processed 3 LLD rules, idle 7.680348 sec during 7.718517 sec](main+0x312) [0x563eb4740135]
      24048:20191101:100900.923 1: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7fc56b492505]
      24048:20191101:100900.923 0: /usr/sbin/zabbix_server: lld worker #1 [processed 3 LLD rules, idle 7.680348 sec during 7.718517 sec](+0x401c9) [0x563eb473f1c9]
      24048:20191101:100900.932 [Z3005] query failed: [1062] Duplicate entry '10338-Hyper-V CSV "CSV1_st-gencom-005"' for key 'applications_2' [insert into applications (applicationid,hostid,name,flags) values (5792,10338,'Hyper-V CSV "CSV1_st-gencom-005"',4);
      ]
      

            zabbix.dev Zabbix Development Team
            alex_spq Alex Alexandrov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: