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

JSON path does not support some characters

XMLWordPrintable

    • Sprint 56 (Sep 2019), Sprint 57 (Oct 2019)
    • 0.125

      Steps to reproduce:

      1. Configure Zabbix agent and server (template) to pull data using the (zabbix-rhds|https://github.com/red-ttux/zabbix-rhds) scripts
      2. Zabbix errors on all subordinate items with error messages similar to the following:

      cannot extract value from json by path "$['cn=snmp,cn=monitor']['connections']": unsupported construct in jsonpath starting with: ",cn=monitor,cn=ldbm database,cn=plugins,cn=config']['nsslapd-db-log-write-rate']"

      Upon further inspection it appears that the error could be related to the embedded comma or equals sign.  I have tried to escape the comma without success.

       

      This does work as expected on on earlier versions of 4.0

       

      Result:
      See screenshot
      Expected:
      Dependent items extract as expected.

       

      Attached is a copy of the error in the UI and a sample copy of the data.

            atumilovics Andrejs Tumilovics
            redtux nelsonab
            Team C
            Votes:
            2 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: