In Zabbix 5.2 I have an External Check Item with the following Key:
flexlm.sh["27002","{HOST.NAME}"]
And then I have a Trigger in the same template that's based on the following expression:
{Template - FlexLM licence status 27002:flexlm.sh["27002","{HOST.NAME}"].last()}=0
Then there is a flexlm.sh file in the externalscripts folder of the server that carries out one command. The above all works fine.
However, I try to replicate the exact settings of the above on a new Zabbix v6 installation that I'm currently testing and am having issues. The creation of the Item seems to have gone OK, but when I try to create the Trigger I get the following error:
Cannot add trigger
Invalid parameter "/1/expression": incorrect expression starting from "{Template - FlexLM licence status 27002:flexlm.sh["27002","{HOST.NAME}"].last()}=0".
Has anything changed in the expression syntax between 5.2 and 6.0?
Thanks.
flexlm.sh["27002","{HOST.NAME}"]
And then I have a Trigger in the same template that's based on the following expression:
{Template - FlexLM licence status 27002:flexlm.sh["27002","{HOST.NAME}"].last()}=0
Then there is a flexlm.sh file in the externalscripts folder of the server that carries out one command. The above all works fine.
However, I try to replicate the exact settings of the above on a new Zabbix v6 installation that I'm currently testing and am having issues. The creation of the Item seems to have gone OK, but when I try to create the Trigger I get the following error:
Cannot add trigger
Invalid parameter "/1/expression": incorrect expression starting from "{Template - FlexLM licence status 27002:flexlm.sh["27002","{HOST.NAME}"].last()}=0".
Has anything changed in the expression syntax between 5.2 and 6.0?
Thanks.
Comment