Steps to reproduce:
- Create a trigger
- Assign a name
- Directly enter a trigger expression that uses "item_count (item filter)" function
Observe an error message :
A successful creation, as according to our documentation
Except where stated otherwise, all functions listed here are supported in:
and it is not "stated otherwise" for the "item_count (".
Thus we need to state this for the function.
Please, also check if any other functions should be marked as unavailable to be used in trigger expressions.
P.S. If the graphical dialogues addition of the trigger expression is used - i.e. "Add" button is pressed and a function is being selected from the available in combobox - "item_count()" function is not listed (implies that it is unavailable). But still many Zabbix users type in functions directly.