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

    • Incident report
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.5
    • 2.1.0
    • Server (S)
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: