[ZBX-21701] Templated item tag {HOST.NAME} doesn't work Created: 2022 Sep 27  Updated: 2023 Oct 16  Resolved: 2023 Oct 16

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: None
Affects Version/s: 6.2.3
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Bruno Ortega Blanes Assignee: Edgars Melveris
Resolution: Incomplete Votes: 0
Labels: hostname, macros, tags
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

CentOS 9 Stream
Zabbix installed from packages


Attachments: PNG File image-2022-09-27-15-00-38-263.png     PNG File image-2022-09-27-15-01-57-655.png    

 Description   

Steps to reproduce:

  1. Go to the default ICMP Ping template
  2. Replace all the "ICMP loss" item tags with ICMP:{HOST.NAME}
  3. Go to latest data

Result:
See screenshot...

Expected:
Expected macro to be understood and converted to the host visible name, as it does with triggers.



 Comments   
Comment by Edgars Melveris [ 2022 Sep 29 ]

Hello!

Is it resolved when a problem is created, from trigger using this item?

Comment by Bruno Ortega Blanes [ 2022 Sep 29 ]

It is not. Triggers from this very item do render the tag appropriately, however the item does not, even after a problem is created.

Generated at Fri Apr 11 04:31:12 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.