-
Documentation task
-
Resolution: Unresolved
-
Major
-
None
-
None
-
Documentation backlog
-
1
The description of "Function parameters" on the following page states:
"If a host is omitted (i.e. as in function(//key,parameter,...)), the function will reference the current host."
URL: https://www.zabbix.com/documentation/7.0/en/manual/config/triggers/expression#function-parameters
My understanding and testing, this // syntax (to omit the host name) does not work in actual trigger expressions.
I tested it with the following:
hostname : test
itemkey : test.item
Trigger Expression(before) : last(/test/test.item)=0
Trigger Expression(after) : last(//test.item)=0
Trigger Expression (after) cannot be saved and an error occurs.
Invalid parameter "/1/expression": incorrect expression starting from "last(//test.item)=0".
Could you please confirm if this documentation description is accurate?