[ZBX-26070] Issue with macro in HashiCorp Consul Cluster by HTTP template Created: 2025 Feb 19  Updated: 2025 Mar 03  Resolved: 2025 Mar 03

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Templates (T)
Affects Version/s: None
Fix Version/s: 7.0.11rc1, 7.2.5rc1, 7.4.0beta1

Type: Problem report Priority: Trivial
Reporter: Priit Saar Assignee: Aleksejs Abrosimovs
Resolution: Fixed Votes: 0
Labels: templates
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Team: Team INT
Sprint: Sprint candidates
Story Points: 0.5

 Description   

There is defined macro {$CONSUL.SERVICE_NODES.CRITICAL.MAX.AVG}

However the trigger is referencing {$CONSUL.CLUSTER.SERVICE_NODES.CRITICAL.MAX.AVG:"{#SERVICE_NAME}"}

The trigger is not functional because the macro does not exist. 

Fix is to either add CLUSTER to the macro or remove it the extra word from trigger definition.



 Comments   
Comment by Priit Saar [ 2025 Feb 19 ]

https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/app/consul_http/consul_cluster

 

Comment by Aleksejs Abrosimovs [ 2025 Feb 28 ]

Fixed in:

Generated at Sat Dec 13 21:53:06 EET 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.