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

server accepts invalid json in lld rule

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 2.1.0
    • 2.0.5
    • Server (S)
    • RHEL 5.X x64

      I have notice a little problem on LLD feature. if i create a wrong JSON output for LLD feature Zabbix don't check the correct syntax and it work for only the first element of the JSON list, i think is good to put in evidence this kind of problem from Web GUI frontend or in the log file.

      Example of wrong JSON output (missing "," between element):


      {
      "data":[

      {
      "

      {#DBNAME}":"information_schema" }
      {
      "{#DBNAME}

      ":"mysql" }
      {
      "

      {#DBNAME}":"performance_schema" }
      {
      "{#DBNAME}

      ":"test" }
      {
      "

      {#DBNAME}

      ":"zabbix" }

      ]
      }

            Unassigned Unassigned
            dimi Dimitri Bellini
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: