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

server accepts invalid json in lld rule

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.5
    • Fix Version/s: 2.1.0
    • Component/s: Server (S)
    • Labels:
    • Environment:
      RHEL 5.X x64

      Description

      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" }

      ]
      }

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: