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

Internal macro {HOST.*} is not working inside HTTP Proxy field for HTTP Agent checks

    XMLWordPrintable

Details

    • Team C
    • Sprint 99 (Apr 2023), Sprint 100 (May 2023), Sprint 101 (Jun 2023), Sprint 102 (Jul 2023)
    • 0.5

    Description

      Steps to reproduce:
      https://www.zabbix.com/documentation/6.0/en/manual/appendix/macros/supported_by_location

      HTTP agent type item, item prototype and discovery rule fields:
      URL, Query fields, Request body, Headers, Proxy, SSL certificate file, SSL key file, Allowed hosts.
      

      Create HTTP Agent with Proxy field populated like:

      http://{HOST.IP}:8080
      

      Result:

      • Manual test works.
      • Server side checks ends up with: Cannot perform request: Could not resolve proxy: {HOST.IP}

        .

      Expected:
      Server or Proxy is able to resolve internal macro as described in the documentation and perform HTTP agent check.

      Attachments

        Issue Links

          Activity

            People

              epulke Elina Pulke
              edgar.akhmetshin Edgar Akhmetshin
              Votes:
              2 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: