Hi Team:
I am generating a calculated item in Zabbix 5.4 with the following expression:
The problem is when the swap memory is equal to zero (SwapTotal = 0). I try to solve it with the following expression:
... but I get the following error when I want to save:
Could someone guide me on how to solve this division by zero?
Thanks in advance.
Martin Pedros
I am generating a calculated item in Zabbix 5.4 with the following expression:
HTML Code:
100-(last(//SwapFree)/last(//SwapTotal))
HTML Code:
100-(last(//SwapFree)/last(//SwapTotal)+ count("SwapTotal",#1,0))
HTML Code:
Invalid parameter "/1/params": incorrect expression starting from "count("SwapTotal",#1,0))"
Thanks in advance.
Martin Pedros