[ZBX-22231] Internal macro {HOST.*} is not working inside HTTP Proxy field for HTTP Agent checks Created: 2023 Jan 20  Updated: 2024 Apr 10  Resolved: 2023 Jul 15

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Documentation (D), Frontend (F)
Affects Version/s: 6.0.12, 6.2.6
Fix Version/s: 6.0.19rc1, 6.4.4rc1, 7.0.0alpha2, 7.0 (plan)

Type: Problem report Priority: Major
Reporter: Edgar Akhmetshin Assignee: Elina Pulke (Inactive)
Resolution: Fixed Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

RHEL 8.7
Zabbix 6.0.12 from official repo


Attachments: PNG File screenshot-1.png    
Issue Links:
Causes
caused by ZBXNEXT-4358 Metrics for easy RestAPI data retriev... Closed
Duplicate
Sub-task
Team: Team C
Sprint: Sprint 99 (Apr 2023), Sprint 100 (May 2023), Sprint 101 (Jun 2023), Sprint 102 (Jul 2023)
Story Points: 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.



 Comments   
Comment by Elina Pulke (Inactive) [ 2023 May 16 ]

Fixed in development branch feature/ZBX-22231-6.0.

Comment by Elina Pulke (Inactive) [ 2023 Jun 07 ]

Fixed in:

Generated at Mon May 19 06:12:25 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.