Zabbix Documentation 2.4

3.04.04.2 (current)In development:4.4 (devel)Unsupported:1.82.02.22.43.23.4

User Tools

Site Tools


manual:appendix:macros:supported_by_location

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manual:appendix:macros:supported_by_location [2016/11/16 05:49]
martins-v moving related info in footnotes together, some rewording
manual:appendix:macros:supported_by_location [2019/01/18 08:33] (current)
martins-v fixing some formatting issues
Line 6: Line 6:
  
   * **X** means "​supported"​ in that location   * **X** means "​supported"​ in that location
-  * The numbered macro syntax of {MACRO**<​1-9>​**} is used to reference hosts in the order in which they appear in a trigger expression. Thus, macros like {HOST.IP1}, {HOST.IP2}, {HOST.IP3} will expand to the IP of the first, second and third host in the trigger expression, providing the expression contains those hosts. Additionally {HOST.HOST**<​1-9>​**} is supported within {host:​key.func(param)} macro in graph names. For example, {{HOST.HOST2}:​key.func()} in the graph name will refer to the host of the second item in the graph.+  * The numbered macro syntax of {MACRO**<​1-9>​**} is used to reference hosts in the order in which they appear in a trigger expression. Thus, macros like {HOST.IP1}, {HOST.IP2}, {HOST.IP3} will expand to the IP of the first, second and third host in the trigger expression, providing the expression contains those hosts. Additionally {HOST.HOST**<​1-9>​**} is supported within {host:​key.func(param)} macro in graph names. For example, ​%%{{%%HOST.HOST2}:​key.func()} in the graph name will refer to the host of the second item in the graph.
  
 |                                                                       URL field of dynamic URL **screen** element|||||||||||||||||||▼^ ​ ▼DESCRIPTION▼ ​ | |                                                                       URL field of dynamic URL **screen** element|||||||||||||||||||▼^ ​ ▼DESCRIPTION▼ ​ |
Line 143: Line 143:
 |{ITEM.KEY<​1-9>​} ​                       | X |   ​| ​  | X | X | X |   ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​|//​Key of the Nth item in the trigger expression that caused a notification.//​ Supported since 2.0.0.\\ ''​{TRIGGER.KEY}''​ is deprecated.| |{ITEM.KEY<​1-9>​} ​                       | X |   ​| ​  | X | X | X |   ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​|//​Key of the Nth item in the trigger expression that caused a notification.//​ Supported since 2.0.0.\\ ''​{TRIGGER.KEY}''​ is deprecated.|
 |{ITEM.KEY.ORIG<​1-9>​} ​                  | X |   ​| ​  | X | X | X |   ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​|//​Original key (with macros not expanded) of the Nth item in the trigger expression that caused a notification.//​ Supported since 2.0.6.| |{ITEM.KEY.ORIG<​1-9>​} ​                  | X |   ​| ​  | X | X | X |   ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​|//​Original key (with macros not expanded) of the Nth item in the trigger expression that caused a notification.//​ Supported since 2.0.6.|
-|{ITEM.LASTVALUE<​1-9>​} ​                 | X |   ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  | X |   ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​|//​The latest value of the Nth item in the trigger expression that caused a notification.//​ Supported since 1.4.3. It is alias to ''​{{HOST.HOST}:​{ITEM.KEY}.last()}''​|+|{ITEM.LASTVALUE<​1-9>​} ​                 | X |   ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  | X |   ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​|//​The latest value of the Nth item in the trigger expression that caused a notification.//​ Supported since 1.4.3. It is alias to ''​%%{{%%HOST.HOST}:​{ITEM.KEY}.last()}''​|
 |{ITEM.LOG.AGE<​1-9>​} ​                   | X |   ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​|//​Age of the log item event.// ​ | |{ITEM.LOG.AGE<​1-9>​} ​                   | X |   ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​|//​Age of the log item event.// ​ |
 |{ITEM.LOG.DATE<​1-9>​} ​                  | X |   ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​|//​Date of the log item event.// ​  | |{ITEM.LOG.DATE<​1-9>​} ​                  | X |   ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​|//​Date of the log item event.// ​  |
Line 172: Line 172:
 |{TRIGGER.EVENTS.PROBLEM.UNACK} ​        | X |   ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  | X |   ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​|//​Number of unacknowledged PROBLEM events for all triggers disregarding their state.// Supported since 1.8.3.| |{TRIGGER.EVENTS.PROBLEM.UNACK} ​        | X |   ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  | X |   ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​|//​Number of unacknowledged PROBLEM events for all triggers disregarding their state.// Supported since 1.8.3.|
 |{TRIGGER.EVENTS.UNACK} ​                | X |   ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  | X |   ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​|//​Number of unacknowledged events for a map element in maps, or for the trigger which generated current event in notifications.//​ Supported in map element labels since 1.8.3.| |{TRIGGER.EVENTS.UNACK} ​                | X |   ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  | X |   ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​|//​Number of unacknowledged events for a map element in maps, or for the trigger which generated current event in notifications.//​ Supported in map element labels since 1.8.3.|
-|{TRIGGER.HOSTGROUP.NAME} ​              | X |   ​| ​  | X |   ​| ​  ​| ​  ​| ​  ​| ​|   ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  |//A sorted (by SQL query), comma-space separated list of host groups in which the trigger is defined.// Supported since 2.0.6.|+|{TRIGGER.HOSTGROUP.NAME} ​              | X |   ​| ​  | X |   ​| ​  ​| ​  ​| ​  ​| ​  ​|   ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  |//A sorted (by SQL query), comma-space separated list of host groups in which the trigger is defined.// Supported since 2.0.6.|
 ^                                       ​| ​ 1  ^  2  |  3  ^  4  |  5  ^  6  |  7  ^  8  |  9  ^  10  |  11  ^  12  |  13  ^  14  |  15  ^  16  |  17  ^  18  |  19  ^ | ^                                       ​| ​ 1  ^  2  |  3  ^  4  |  5  ^  6  |  7  ^  8  |  9  ^  10  |  11  ^  12  |  13  ^  14  |  15  ^  16  |  17  ^  18  |  19  ^ |
 |{TRIGGER.PROBLEM.EVENTS.PROBLEM.ACK} ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  | X |   ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​|//​Number of acknowledged PROBLEM events for triggers in PROBLEM state.// Supported since 1.8.3.| |{TRIGGER.PROBLEM.EVENTS.PROBLEM.ACK} ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  | X |   ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​| ​  ​|//​Number of acknowledged PROBLEM events for triggers in PROBLEM state.// Supported since 1.8.3.|
Line 210: Line 210:
 <​sup>​**7**</​sup>​ Supported since Zabbix 2.2.0. Only the **avg**, **last**, **max** and **min** functions, with seconds as parameter are supported within this macro in graph names. The {HOST.HOST<​1-9>​} macro can be used as host within the macro. For example: <​sup>​**7**</​sup>​ Supported since Zabbix 2.2.0. Only the **avg**, **last**, **max** and **min** functions, with seconds as parameter are supported within this macro in graph names. The {HOST.HOST<​1-9>​} macro can be used as host within the macro. For example:
    * {Cisco switch:​ifAlias[{#​SNMPINDEX}].last()}    * {Cisco switch:​ifAlias[{#​SNMPINDEX}].last()}
-   * {{HOST.HOST}:​ifAlias[{#​SNMPINDEX}].last()}+   ​* ​%%{{%%HOST.HOST}:​ifAlias[{#​SNMPINDEX}].last()}
  
 <​sup>​**8**</​sup>​ Supported since 2.4.0. <​sup>​**8**</​sup>​ Supported since 2.4.0.
Line 229: Line 229:
     * Interface port     * Interface port
  
-  * Items+  * Items and item prototypes
     * SNMPv3 context name     * SNMPv3 context name
     * SNMPv3 security name     * SNMPv3 security name