Ad Widget

Collapse

Trigger expression for item

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • duncan9562
    Member
    • Jan 2017
    • 46

    #1

    Trigger expression for item

    I have a Zabbix Agent check that returns a value every 10 minutes, say for example 0.

    I have configured an item to run the check, which returns the correct value.

    What I want to get going are three triggers, as below:-

    1) Warning = difference between last value and previous value is 1
    2) Average = difference between last value and previous value is 2
    3) High = difference between last value and previous value is more than 2

    So far, I have come up with the following triggers for each item:-

    1) {Custom:custom.check.test.change()} = 1
    1) {Custom:custom.check.test.change()} = 2
    1) {Custom:custom.check.test.change()} > 2

    These use the 'change' trigger which should compare the value of the last and previous values.

    As a test, I have the check reading the contents of a file starting with the value set to 0. If I change the value to 1, it triggers all 3 triggers, when it should just trigger the 1st.

    Can anyone find what I'm doing wrong?

    All help greatly appreciated.

    Duncan.
Working...