I am trying to figure out how to have Zabbix pull values from 2 fields, compare them and trigger if the difference between them exceeds a certain value
2 Answers
If one is always larger than the other and using a threshold of 13:
{host:item1.last()}-{host:item2.last()}>13
If their relative sizes are unknown, cannot think of anything nicer but this:
({host:item1.last()}-{host:item2.last()}>13) or ({host:item2.last()}-{host:item1.last()}>13)
-
Would be great for the author of the downvote to provide their reasoning.– RichlvCommented Sep 7, 2018 at 6:24
You can collect the two fields as standard items (snmp values, agent values etc), then create a calculated item with their difference and appy to it your triggers.