[ZBXNEXT-4840] Extend scope of macro functions Created: 2018 Oct 31  Updated: 2022 Jun 21

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: Adam Carrgilson Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: items, macros, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate

 Description   

It would be great if macro functions were permitted across a wider scope than just inside of trigger-based/problem-update notifications and expressions, map labels and graph names.

In this way, you could use item values inside of other items or as user macros.

For instance, I have a HTTP agent check which given some Basic Auth credentials returns a secret key. I would like to be able to use that secret key as the input to the value of a HTTP header in another HTTP agent check. Therefore I would like to be able to use a value likeĀ {{HOST.HOST}:MySecretKey.last()} as my input.

Allowing a wider scope of execution for these macro functions would achieve this, but I can imagine it would also open the doors for much more interesting things than just this.



 Comments   
Comment by Glebs Ivanovskis [ 2018 Oct 31 ]

Similar request (or, at least, use case) in ZBXNEXT-4449.

Comment by Oleksii Zagorskyi [ 2022 Jun 21 ]

Related to ZBXNEXT-5120

Generated at Sat Apr 27 01:11:34 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.