-
New Feature Request
-
Resolution: Unresolved
-
Minor
-
None
-
2.2.0
In trigger names and notifications, we can currently use macros {ITEM.KEY<1-9>} to get at a particular item key.
It would be nice to have the possibility to get at a particular item key's n-th argument. Say, {ITEM.KEY<1-9>.ARG<1-9>} or {ITEM.KEY<1-9>$<1-9>}.
For trigger names, this would allow less duplication. For instance, for item "net.if.out[eth0]" and trigger "Traffic is very high on eth0", the "eth0" part currently has to be hardcoded into trigger name. This can be replaced with "Traffic is very high on {ITEM.KEY.ARG1}".
In notifications, this would allow to create parameterized URLs based on item arguments. For instance, for item "svn.branch[ZBXNEXT-2053,date]" and trigger "Development branch ZBXNEXT-2053 is too old", we wish to send a notification with a link to a corresponding JIRA issue: "https://support.zabbix.com/browse/{ITEM.KEY.ARG1}".