[ZBX-21247] Context macro not resolving values in Item Tag Value Created: 2022 Jun 24  Updated: 2022 Oct 08  Resolved: 2022 Jul 20

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 6.0.4, 6.2.0rc2
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Rodrigo P Assignee: Vladislavs Sokurenko
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2022-06-23-21-55-16-292.png     PNG File image-2022-06-23-21-58-45-134.png     PNG File image-2022-06-23-22-01-44-265.png     PNG File image-2022-06-23-22-06-07-313.png     PNG File image-2022-06-23-22-09-01-457.png    
Issue Links:
Duplicate
duplicates ZBX-20988 Macros don't work in tag values of hosts Closed
Sub-task
part of ZBX-20988 Macros don't work in tag values of hosts Closed
Sprint: Support backlog

 Description   

Context macro not resolving values in Item Tag Value.

 

According to the documentation [1] it's possible to use User Macros in item tags.

 

Steps to reproduce:

In a given Template, create an item prototype with a context macro as value generated with LLD macros

 

Apply Template to some host. Check items created by LLD prototype and their values. Values ares resolved to LLD macros

 

There is a Host Macro overriding the value for macro created by LLD rules

 

On Latest date page, items tag values are not resolved to macro values

Expected:
It was supposed to item tag values have values defined by host macros.

 

[1] https://www.zabbix.com/documentation/6.0/en/manual/config/tagging



 Comments   
Comment by Vladislavs Sokurenko [ 2022 Jul 20 ]

User macros in tags are resolved at the time of the event, everything is working correctly, though visualisation in latest data might not be perfect.

Generated at Fri Apr 18 03:20:37 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.