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

JSON boolean type support

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 4.2.0
    • Server (S)
    • None

      Please support JSON boolean type, either as decimal, or allowing to use the preprocessing boolean to decimal step.

      Currently, given

      "system": {
       "current-firmware": "6.43.13",
       "factory-firmware": "3.33",
       "supports-prb": true,
       "upgrade-available": false,
       "upgrade-firmware": "6.43.13"
       }

      this occurs

      Apr 10 20:51:40 status zabbix_server[2489]: error reason for "100.100.0.172:system.hw.firmware.upgrade" changed: Preprocessing failed for:
      1. Failed: cannot extract value from json by path "$.system["upgrade-available"]": invalid type of JSON value "true, "upgrade-available": false,
      

            ArtursL Arturs Lontons
            Omniflux Omni Flux
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: