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

Use response headers in web monitoring

XMLWordPrintable

      Some web services (REST APIs or even the Zabbix API) do authentication as follows:

      1. Request with credentials returning a session ID as:
        • Custom HTTP response header
        • Cookie
        • JSON response
      2. Send the session ID with each subsequent request.

      Currentlly Zabbix web monitoring and HTTP agent don't support this. But so all such scenarios can only be realized with custom scripts doing all the stuff.

      So it would be very helpful if the response data could be used in subsequent requests. For example the headers could be provided as a macro like

      {response.header.<header name>}

      or

      {step.<step number>.response.header.<header name>}

      Cookies could be automatically used (should be configurable). JSON response data could also be provided as a macro supporting JSON Path data extraction.

            zabbix.dev Zabbix Development Team
            pu Pascal Uhlmann
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: