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

It should be possible to interpret JSON strings from items

XMLWordPrintable

    • Icon: New Feature Request New Feature Request
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • None
    • Server (S)

      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

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

              Created:
              Updated:
              Resolved: