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

    • Problem report
    • Status: Confirmed
    • Major
    • Resolution: Unresolved
    • 6.0.12, 6.2.6
    • None
    • Proxy (P), Server (S)
    • None
    • RHEL 8.7
      Zabbix 6.0.12 from official repo

    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

        Activity

          People

            zabbix.dev Zabbix Development Team
            edgar.akhmetshin Edgar Akhmetshin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: