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
manual:appendix:macros:supported_by_location [2020/07/13 08:31]
martins-v HOST.NAME not supported in autoregistration actions (ZBX-18049)
manual:appendix:macros:supported_by_location [2020/08/18 07:14] (current)
martins-v better wording for ITEM.LASTVALUE inside problem name (ZBX-18247)
Line 136: Line 136:
 |{ITEM.KEY[[supported_by_location#​indexed_macros|<​1-9>​]]} ​                       |-> Trigger-based notifications and commands\\ -> Problem update notifications and commands\\ -> Internal notifications\\ -> HTTP agent type item, item prototype and discovery rule fields: \\ URL, query fields, request body, headers, proxy, SSL certificate file, SSL key file.  |//Key of the Nth item in the trigger expression that caused a notification.//​ Supported since 2.0.0.\\ ''​{TRIGGER.KEY}''​ is deprecated.| |{ITEM.KEY[[supported_by_location#​indexed_macros|<​1-9>​]]} ​                       |-> Trigger-based notifications and commands\\ -> Problem update notifications and commands\\ -> Internal notifications\\ -> HTTP agent type item, item prototype and discovery rule fields: \\ URL, query fields, request body, headers, proxy, SSL certificate file, SSL key file.  |//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[[supported_by_location#​indexed_macros|<​1-9>​]]} ​                  ​|->​ Trigger-based notifications and commands\\ -> Problem update notifications and commands\\ -> Internal notifications ​ |//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[[supported_by_location#​indexed_macros|<​1-9>​]]} ​                  ​|->​ Trigger-based notifications and commands\\ -> Problem update notifications and commands\\ -> Internal notifications ​ |//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[[supported_by_location#​indexed_macros|<​1-9>​]]} ​                 |-> Trigger-based notifications and commands\\ -> Problem update notifications and commands\\ -> Trigger names, operational data and descriptions\\ -> Tag names and values\\ -> Trigger URLs<​sup>​[[supported_by_location#​footnotes|7]]</​sup> ​ |//The latest value of the Nth item in the trigger expression that caused a notification.//​\\ It will resolve to *UNKNOWN* in the frontend if the latest history value has been collected more than the //​ZBX_HISTORY_PERIOD//​ time ago (defined in [[:​manual/​web_interface/​definitions|defines.inc.php]]).\\ Note that since 4.0, it will not resolve to the latest item value when viewing problem events, instead it will stay with the item value from the time of problem happening.\\ Supported since 1.4.3. It is alias to ''​%%{{HOST.HOST}:​{ITEM.KEY}.last()}%%''​.\\ [[:​manual/​config/​macros/​macro_functions|Customizing]] the macro value is supported for this macro; starting with Zabbix 3.2.0. ​ |+|{ITEM.LASTVALUE[[supported_by_location#​indexed_macros|<​1-9>​]]} ​                 |-> Trigger-based notifications and commands\\ -> Problem update notifications and commands\\ -> Trigger names, operational data and descriptions\\ -> Tag names and values\\ -> Trigger URLs<​sup>​[[supported_by_location#​footnotes|7]]</​sup> ​ |//The latest value of the Nth item in the trigger expression that caused a notification.//​\\ It will resolve to *UNKNOWN* in the frontend if the latest history value has been collected more than the //​ZBX_HISTORY_PERIOD//​ time ago (defined in [[:​manual/​web_interface/​definitions|defines.inc.php]]).\\ Note that since 4.0, when used in the problem name, it will not resolve to the latest item value when viewing problem events, instead it will keep the item value from the time of problem happening.\\ Supported since 1.4.3. It is alias to ''​%%{{HOST.HOST}:​{ITEM.KEY}.last()}%%''​.\\ [[:​manual/​config/​macros/​macro_functions|Customizing]] the macro value is supported for this macro; starting with Zabbix 3.2.0. ​ |
 |{ITEM.LOG.AGE[[supported_by_location#​indexed_macros|<​1-9>​]]} ​                   |-> Trigger-based notifications and commands\\ -> Problem update notifications and commands ​ |//Age of the log item event.// ​ | |{ITEM.LOG.AGE[[supported_by_location#​indexed_macros|<​1-9>​]]} ​                   |-> Trigger-based notifications and commands\\ -> Problem update notifications and commands ​ |//Age of the log item event.// ​ |
 |{ITEM.LOG.DATE[[supported_by_location#​indexed_macros|<​1-9>​]]} ​                  ​|->​ Trigger-based notifications and commands\\ -> Problem update notifications and commands ​ |//Date of the log item event.// ​  | |{ITEM.LOG.DATE[[supported_by_location#​indexed_macros|<​1-9>​]]} ​                  ​|->​ Trigger-based notifications and commands\\ -> Problem update notifications and commands ​ |//Date of the log item event.// ​  |