-
Documentation task
-
Resolution: Fixed
-
Trivial
-
None
-
None
-
0.5
https://www.zabbix.com/documentation/current/manual/appendix/macros/supported_by_location
{ITEM.VALUE}and {ITEM.LASTVALUE} macro description
The description is wrong, because these macros reference to first, second, third, etc item in a trigger expression.
This macro may be used with a numeric index e.g. {ITEM.VALUE<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
It is still correct for all {HOST.*} macros, because they reference a host.
The INDEXED MACROS section at the bottom of the page is incomplete, it talks only about hosts
INDEXED MACROS The indexed macro syntax of {MACRO<1-9>} is limited to the context of trigger expressions. It can be used to reference hosts in the order in which they appear in the expression. Macros like {HOST.IP1}, {HOST.IP2}, {HOST.IP3} will resolve to the IP of the first, second and third host in the trigger expression (providing the trigger expression contains those hosts).