Zabbix server: 5.4.3
Hi, I'm new to Zabbix and in trouble of using aggregate function.
I created a LLD item prototype which produces items for collecting firmware version for each drive. Each of the items return a version number(I converted the type of version to number)
Now I want to create a trigger to report error If the version number of any item is inconsistent with the other. The "stddevpop" aggregate function can be used to do this. Having tried my best, I have not been able to get the aggregate function work in trigger expression.
The items keys like
The trigger expression as below:
The error occurs when add the trigger:
I tried using different key name, still failed to add the trigger.
I referred the following Zabbix doc:
Any suggestion will be helpful, thanks in advance.
Hi, I'm new to Zabbix and in trouble of using aggregate function.
I created a LLD item prototype which produces items for collecting firmware version for each drive. Each of the items return a version number(I converted the type of version to number)
Now I want to create a trigger to report error If the version number of any item is inconsistent with the other. The "stddevpop" aggregate function can be used to do this. Having tried my best, I have not been able to get the aggregate function work in trigger expression.
The items keys like
firmware_level["["0"]"], firmware_level["["1"]"], firmware_level["["2"]"]...
Code:
stddevpop(last_foreach(/Health Check/firmware_level[*]))>0
Invalid parameter "/1/expression": incorrect usage of function "stddevpop".
I referred the following Zabbix doc:
Any suggestion will be helpful, thanks in advance.