Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-3472

It should be possible to interpret JSON strings from items

    Details

    • Type: New Feature Request
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Server (S)
    • Labels:

      Description

      I find myself using Zabbix to monitor many services that offer an api to check their status. I.e. Elasticsearch.

      These services usually return you a JSON of their status.

      It would make it easier if it was possible to interpret the content and extract values using a sintax similar to jq.

      Currently I use a web.page.regexp but ideally you would want to use something that allows you to interpret json strings better.

      web.page.regexp[{HOST.IP},/_cluster/health?pretty,9200,"status[: \"]+([a-zA-Z]+)",,\1]
      

      vs

      web.page.json[{HOST.IP},/_cluster/health?pretty,9200,.status]
      

      Regards

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                alledm Alessandro De Maria
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: