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

JSON Path malfuction after ZBXNEXT-8040, ZBXNEXT-8009

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 6.0.11
    • Server (S)
    • Debian GNU/Linux 10.5
      Linux zabbix 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) x86_64 GNU/Linux

      Package: zabbix-server-pgsql
      Version: 1:6.0.11-1+debian11
    • Sprint 94 (Nov 2022), Sprint 95 (Dec 2022)
    • 1

      It works until 6.0.10

      $.registros..data

      LLD from preprocessing from Geogrid' API JSON object stop woking:

      – cannot extract value from json by path "$.registros..dados": invalid object format, expected opening character '{' or '[' at: '
      – {"registros":[{"dados":{"id":"846682","item":"terminal","marcador":"terminal","latitude":"-23.21831912","longitude":"-46.86608225","sigla":"vza 21-01","label":null,"responsavel":null,"ddd
      ```

      JSON file attached.

      JSON file and query is valid by https://jsonpath.com/

        1. image-2022-11-29-13-01-18-620.png
          image-2022-11-29-13-01-18-620.png
          9 kB
        2. image-2022-12-02-08-51-27-658.png
          image-2022-12-02-08-51-27-658.png
          3 kB
        3. image-2022-12-02-09-07-08-454.png
          image-2022-12-02-09-07-08-454.png
          3 kB
        4. LLD.json
          218 kB
        5. out.json
          6 kB

            wiper Andris Zeila
            livreacesso.pro LivreAcesso.Pro
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved: