Zabbix Documentation 5.2

3.04.05.0 (current)| In development:5.2 (devel)| Unsupported:1.82.02.22.43.23.44.24.4Guidelines

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
Next revision Both sides next revision
manual:appendix:macros:supported_by_location [2020/03/25 14:10]
marinagen event.duration updated
manual:appendix:macros:supported_by_location [2020/06/03 05:35]
marinagen [ZBXNEXT-3209] new user-related macros
Line 38: Line 38:
 |{EVENT.RECOVERY.STATUS} ​               |-> Problem [[manual:​config:​notifications:​action:​recovery_operations|recovery notifications]] ​ |//Verbal value of the recovery event.//\\ Supported since 2.2.0. ​ | |{EVENT.RECOVERY.STATUS} ​               |-> Problem [[manual:​config:​notifications:​action:​recovery_operations|recovery notifications]] ​ |//Verbal value of the recovery event.//\\ Supported since 2.2.0. ​ |
 |{EVENT.RECOVERY.TAGS} ​                          ​|->​ Problem [[manual:​config:​notifications:​action:​recovery_operations|recovery notifications]] ​ |//A comma separated list of recovery event tags.// Expanded to an empty string if no tags exist.\\ Supported since 3.2.0. ​ | |{EVENT.RECOVERY.TAGS} ​                          ​|->​ Problem [[manual:​config:​notifications:​action:​recovery_operations|recovery notifications]] ​ |//A comma separated list of recovery event tags.// Expanded to an empty string if no tags exist.\\ Supported since 3.2.0. ​ |
 +|{EVENT.RECOVERY.TAGSJSON} ​                          ​|->​ Problem [[manual:​config:​notifications:​action:​recovery_operations|recovery notifications]] ​ |//A JSON array containing event tag [[:​manual/​api/​reference/​event/​object#​event_tag|objects]].//​ Expanded to an empty array if no tags exist. \\ Supported since 5.0.0. |
 |{EVENT.RECOVERY.TIME} ​                 |-> Problem [[manual:​config:​notifications:​action:​recovery_operations|recovery notifications]] ​ |//Time of the recovery event.//\\ Supported since 2.2.0. ​ | |{EVENT.RECOVERY.TIME} ​                 |-> Problem [[manual:​config:​notifications:​action:​recovery_operations|recovery notifications]] ​ |//Time of the recovery event.//\\ Supported since 2.2.0. ​ |
 |{EVENT.RECOVERY.VALUE} ​                ​|->​ Problem [[manual:​config:​notifications:​action:​recovery_operations|recovery notifications]] ​ |//Numeric value of the recovery event.//\\ Supported since 2.2.0. ​ | |{EVENT.RECOVERY.VALUE} ​                ​|->​ Problem [[manual:​config:​notifications:​action:​recovery_operations|recovery notifications]] ​ |//Numeric value of the recovery event.//\\ Supported since 2.2.0. ​ |
Line 44: Line 45:
 |{EVENT.STATUS} ​                        ​|->​ Trigger-based notifications and commands\\ -> Problem update notifications\\ -> Discovery notifications\\ ​ -> Autoregistration notifications\\ ​ -> Internal notifications ​ |//Verbal value of the event that triggered an action.//\\ Supported since 2.2.0. ​ | |{EVENT.STATUS} ​                        ​|->​ Trigger-based notifications and commands\\ -> Problem update notifications\\ -> Discovery notifications\\ ​ -> Autoregistration notifications\\ ​ -> Internal notifications ​ |//Verbal value of the event that triggered an action.//\\ Supported since 2.2.0. ​ |
 |{EVENT.TAGS} ​                          ​|->​ Trigger-based notifications and commands\\ -> Problem update notifications ​ |//A comma separated list of event tags.// Expanded to an empty string if no tags exist.\\ Supported since 3.2.0. ​ | |{EVENT.TAGS} ​                          ​|->​ Trigger-based notifications and commands\\ -> Problem update notifications ​ |//A comma separated list of event tags.// Expanded to an empty string if no tags exist.\\ Supported since 3.2.0. ​ |
 +|{EVENT.TAGSJSON} ​                          ​|->​ Trigger-based notifications and commands\\ -> Problem update notifications ​ |//A JSON array containing event tag [[:​manual/​api/​reference/​event/​object#​event_tag|objects]].//​ Expanded to an empty array if no tags exist. \\ Supported since 5.0.0. ​ |
 |{EVENT.TAGS.<​tag name>​} ​               |-> Trigger-based notifications and commands\\ -> Problem update notifications\\ -> Problem and event URLs  |//Event tag value referenced by the tag name.//\\ A tag name containing non-alphanumeric characters (including non-English multibyte-UTF characters) should be double quoted. Quotes and backslashes inside a quoted tag name must be escaped with a backslash.\\ Supported since 4.4.2.| |{EVENT.TAGS.<​tag name>​} ​               |-> Trigger-based notifications and commands\\ -> Problem update notifications\\ -> Problem and event URLs  |//Event tag value referenced by the tag name.//\\ A tag name containing non-alphanumeric characters (including non-English multibyte-UTF characters) should be double quoted. Quotes and backslashes inside a quoted tag name must be escaped with a backslash.\\ Supported since 4.4.2.|
 |{EVENT.TIME} ​                          ​|->​ Trigger-based notifications and commands\\ -> Problem update notifications\\ -> Discovery notifications\\ ​ -> Autoregistration notifications\\ ​ -> Internal notifications ​ |//Time of the event that triggered an action.// ​ | |{EVENT.TIME} ​                          ​|->​ Trigger-based notifications and commands\\ -> Problem update notifications\\ -> Discovery notifications\\ ​ -> Autoregistration notifications\\ ​ -> Internal notifications ​ |//Time of the event that triggered an action.// ​ |
Line 185: Line 187:
 |{TRIGGERS.ACK} ​                        ​|->​ Map element labels ​ |//Number of acknowledged triggers for a map element, disregarding trigger state.//\\ A trigger is considered to be acknowledged if all of it's PROBLEM events are acknowledged.\\ Supported since 1.8.3.| |{TRIGGERS.ACK} ​                        ​|->​ Map element labels ​ |//Number of acknowledged triggers for a map element, disregarding trigger state.//\\ A trigger is considered to be acknowledged if all of it's PROBLEM events are acknowledged.\\ Supported since 1.8.3.|
 |{TRIGGERS.PROBLEM.ACK} ​                ​|->​ Map element labels ​ |//Number of acknowledged PROBLEM triggers for a map element.//​\\ A trigger is considered to be acknowledged if all of it's PROBLEM events are acknowledged.\\ Supported since 1.8.3.| |{TRIGGERS.PROBLEM.ACK} ​                ​|->​ Map element labels ​ |//Number of acknowledged PROBLEM triggers for a map element.//​\\ A trigger is considered to be acknowledged if all of it's PROBLEM events are acknowledged.\\ Supported since 1.8.3.|
-|{USER.FULLNAME} ​                       |-> Problem update notifications ​ |//​Name ​and surname of the user// who added event acknowledgement.\\ Supported since 3.4.0. ​ |+|{USER.ALIAS} ​                       |-> Global scripts (including confirmation text)  |//Alias (username) of the user// who started the script.\\ Supported since 5.0.2. ​ | 
 +|{USER.FULLNAME} ​                       |-> Problem update notifications ​\\ -> Global scripts (including confirmation text)  ​|//​Namesurname ​and alias of the user// who added event acknowledgement ​or started the script. \\ Supported ​for problem updates ​since 3.4.0, for global scripts since 5.0.2  | 
 +|{USER.NAME} ​                       |-> Global scripts (including confirmation text)  | //Name of the user// who started the script. \\ Supported since 5.0.2. ​ | 
 +|{USER.SURNAME} ​                       |-> Global scripts (including confirmation text)  | //Surname name of the user// who started the script. \\ Supported since 5.0.2.  |
 |{host:​key.func(param)} ​                ​|->​ Trigger-based notifications and commands\\ -> Problem update notifications\\ -> Map element/​shape labels <​sup>​[[supported_by_location#​footnotes|3]]</​sup>​\\ -> Link labels in maps<​sup>​[[supported_by_location#​footnotes|3]]</​sup>​​\\ -> Graph names<​sup>​[[supported_by_location#​footnotes|5]]</​sup>​\\ -> Trigger expressions<​sup>​[[supported_by_location#​footnotes|6]]</​sup> ​ |//Simple macros, as used in building trigger [[manual:​config:​triggers:​expression|expressions]]//​.\\ \\ Supported for shape labels in maps since 3.4.2. ​ | |{host:​key.func(param)} ​                ​|->​ Trigger-based notifications and commands\\ -> Problem update notifications\\ -> Map element/​shape labels <​sup>​[[supported_by_location#​footnotes|3]]</​sup>​\\ -> Link labels in maps<​sup>​[[supported_by_location#​footnotes|3]]</​sup>​​\\ -> Graph names<​sup>​[[supported_by_location#​footnotes|5]]</​sup>​\\ -> Trigger expressions<​sup>​[[supported_by_location#​footnotes|6]]</​sup> ​ |//Simple macros, as used in building trigger [[manual:​config:​triggers:​expression|expressions]]//​.\\ \\ Supported for shape labels in maps since 3.4.2. ​ |
 |{$MACRO} ​                              ​|->​ See: [[:​manual/​appendix/​macros/​supported_by_location_user|User macros supported by location]] ​ |//​[[:​manual/​config/​macros/​usermacros|User-definable]] macros.// ​ | |{$MACRO} ​                              ​|->​ See: [[:​manual/​appendix/​macros/​supported_by_location_user|User macros supported by location]] ​ |//​[[:​manual/​config/​macros/​usermacros|User-definable]] macros.// ​ |