[ZBX-5329] "trigger exprission macro" with nested {HOST.NAME} macro is not expaded fully in actions Created: 2012 Jul 16 Updated: 2017 May 30 Resolved: 2012 Jul 17 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 2.0.1 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Major |
Reporter: | Oleksii Zagorskyi | Assignee: | Unassigned |
Resolution: | Won't fix | Votes: | 0 |
Labels: | actions, macros, nested | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
Macros in an action: in an alert will be expanded to: HOST.HOST: 21 Note that with the {HOST.HOST} it works correctly, but with the {HOST.NAME} - it doesn't expanded fully.Of course the macro {HOST.NAME} is new for version 2.0 but it must work identically to the {HOST.HOST} (a replacement for {HOSTNAME}) http://www.zabbix.com/documentation/2.0/manual/appendix/macros/supported_by_location |
Comments |
Comment by Alexander Vladishev [ 2012 Jul 17 ] |
Marcos {HOSTNAME}and {HOST.HOST}return technical host names, but {HOST.NAME}returns visible host name. In trigger expressions and macros like {host:key.func()}we use only technical host names. |