Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-2053

add macro that expands into item key's n-th parameter

XMLWordPrintable

      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}".

            Unassigned Unassigned
            asaveljevs Aleksandrs Saveljevs
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: