1

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

1
  • What have you tried so far?
    – jrswgtr
    Commented Aug 31, 2018 at 13:10

2 Answers 2

2

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)
1
  • Would be great for the author of the downvote to provide their reasoning.
    – Richlv
    Commented Sep 7, 2018 at 6:24
1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.