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

"Value should be a JSON object." error message in zabbix 2.4.1

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 2.4.1
    • Proxy (P), Server (S)
    • None

      Hi,

      I've upgraded one zabbix server from 2.2.5 to 2.4.1, because I wanted to use multiple filter for lld items functionality. Unfortunatelly, after upgrade script isn't working anymore. LLD item gives back an error message - "Value should be a JSON object". On a zabbix 2.2.5 I don't have this problem. Probably I'm doing something wrong with json formatting, but frankly I don't know what .

      Ridding off new lines and tabs doesn't change anything - item is not supported due to invalid json.

      How should I format json to be valid for zabbix 2.4.1? Is there anything more I can put here to help find a solution to this?

      Thanks a lot.
      Jacek

        1. debuglog.patch
          1 kB
        2. discoervdefinition.JPG
          discoervdefinition.JPG
          37 kB
        3. json-problem.JPG
          json-problem.JPG
          18 kB
        4. sampleOutputWithNewLines.txt
          6 kB
        5. sampleOutPutWithoutNewLines.txt
          3 kB
        6. test_script.txt
          0.9 kB

            Unassigned Unassigned
            jacek kupski Jacek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: