Hi Everyone.
After spending a lot of time searching through the Zabbix documentation for versions 5.0 through 6.4 I was not able to find where it is documented, that one may omit the "host" part of the "/host/key" function parameter, i.e. it's possible to use "last(//agent.ping)" instead of "last(/host/agent.ping)" in a trigger expression. It doesn't help the matter that searching for special characters, a double slash in this case, is generally not possible, so I cannot search for "last(//" neither in Zabbix docs, nor here in the forum.
Judging by the number of times I've seen people using "last(//..." in the forum posts, it seems to me that this is some sort of a universally known shortcut that was, perhaps, documented a long time ago for the first versions of Zabbix and lost during documentation updates.
Where can I find the documentation for this?
If one does not exist, what exactly does an omitted host part resolve to when, say, a "last" function of a trigger or a trigger prototype?
After spending a lot of time searching through the Zabbix documentation for versions 5.0 through 6.4 I was not able to find where it is documented, that one may omit the "host" part of the "/host/key" function parameter, i.e. it's possible to use "last(//agent.ping)" instead of "last(/host/agent.ping)" in a trigger expression. It doesn't help the matter that searching for special characters, a double slash in this case, is generally not possible, so I cannot search for "last(//" neither in Zabbix docs, nor here in the forum.
Judging by the number of times I've seen people using "last(//..." in the forum posts, it seems to me that this is some sort of a universally known shortcut that was, perhaps, documented a long time ago for the first versions of Zabbix and lost during documentation updates.
Where can I find the documentation for this?
If one does not exist, what exactly does an omitted host part resolve to when, say, a "last" function of a trigger or a trigger prototype?
Comment