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

Preprocessing worker crashes with certain JSON data and JSONPath

XMLWordPrintable

    • Sprint 78 (Jul 2021), Sprint 79 (Aug 2021)
    • 1

      Steps to reproduce:

      1. Example JSON data in Zabbix sender format:
        localhost trapper {"data":[{"general_params":[{"{specification}":"power","{group}":"1","{value}":"30018"},{"{specification}":"power","{group}":"3","{value}":"30017"},{"{specification}":"power","{group}":"2","{value}":"748"},{"{specification}":"power","{group}":"4","{value}":"747"}]}]}
        
      1. JSONPath step:
        $..general_params.[?(@.specification=~"power")].first()
        

      Result:
      Preprocessing worker crashes, log attached.

        1. strace.txt
          4 kB
          Sergey Simonenko
        2. zabbix_server.log
          35 kB
          Sergey Simonenko

            yurii Jurijs Klopovskis
            ssimonenko Sergey Simonenko (Inactive)
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: