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

Something impossible has just happened

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 6.0.34
    • Server (S)
    • LXC
      Debian 11
      PostgreSQL 15

      Steps to reproduce:

      1. The issue has appered after updating from 6.0.30 to 6.0.34
      2. Errors in log - Something impossible has just happened and cannot convert value to string. I am not sure if these errors are related to one another.

      Result:
      Log:

      zabbix_server [515]: ERROR [file and function: <item_preproc.c,item_preproc_str_replace>, revision:55e9f3b67c4, line:2020] Something impossible has just happened.
         515:20240930:101307.354 === Backtrace: ===
         515:20240930:101307.355 10: /usr/sbin/zabbix_server: preprocessing worker #7 started(zbx_backtrace+0x3c) [0x557ea481c42c]
         515:20240930:101307.355 9: /usr/sbin/zabbix_server: preprocessing worker #7 started(+0xd8ad5) [0x557ea4704ad5]
         515:20240930:101307.355 8: /usr/sbin/zabbix_server: preprocessing worker #7 started(+0xdf081) [0x557ea470b081]
         515:20240930:101307.355 7: /usr/sbin/zabbix_server: preprocessing worker #7 started(+0xdf78b) [0x557ea470b78b]
         515:20240930:101307.356 6: /usr/sbin/zabbix_server: preprocessing worker #7 started(preprocessing_worker_thread+0x56c) [0x557ea470c03c]
         515:20240930:101307.356 5: /usr/sbin/zabbix_server: preprocessing worker #7 started(zbx_thread_start+0x20) [0x557ea481e830]
         515:20240930:101307.356 4: /usr/sbin/zabbix_server: preprocessing worker #7 started(+0x77117) [0x557ea46a3117]
         515:20240930:101307.356 3: /usr/sbin/zabbix_server: preprocessing worker #7 started(MAIN_ZABBIX_ENTRY+0xc4c) [0x557ea46a46bc]
         515:20240930:101307.356 2: /usr/sbin/zabbix_server: preprocessing worker #7 started(main+0x4b9) [0x557ea469afe9]
         515:20240930:101307.356 1: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea) [0x7f33af7f9d7a]
         515:20240930:101307.356 0: /usr/sbin/zabbix_server: preprocessing worker #7 started(_start+0x2a) [0x557ea46a252a]
         576:20240930:101344.155 item "domain.cz:cert.not_after" became not supported: Preprocessing failed for:
      1. Failed: cannot extract value from json by path "$.x509.not_after.timestamp": cannot convert value to string
         576:20240930:101344.155 item "domain.cz:cert.sha1_fingerprint" became not supported: Preprocessing failed for:
      1. Failed: cannot extract value from json by path "$.sha1_fingerprint": cannot convert value to string
         576:20240930:101344.155 item "domain.cz:cert.issuer" became not supported: Preprocessing failed for:
      1. Failed: cannot extract value from json by path "$.x509.issuer": cannot convert value to string
         576:20240930:101344.155 item "domain.cz:cert.message" became not supported: Preprocessing failed for:
      

      I noticed the preprocessing failing is from official "Website certificate by Zabbix agent 2" template. There is "Discard unchanged with heartbeat": 6h and every 6 hours, the preprocessing works and i can see the data in history. So it looks like its working somewhat correctly, just the dependent items are missintepreting the 6 hour discard.

      Expected:
      No errors

            zabbix.dev Zabbix Development Team
            petr.114 Petr Skácel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: