Ad Widget

Collapse

New trigger - if difference is 2 or more over the last 3 values

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TheNetworkGuy
    Junior Member
    • Jul 2018
    • 6

    #1

    New trigger - if difference is 2 or more over the last 3 values

    Hi all,

    I'm adding a new trigger that checks interface errors using SNMP. However now the trigger starts when the interface error counter is already above 2. What i really want:
    - Check the average value over the last 3 datapoints
    - Only if the next interface error value has a higher difference than 2 or more over the average it should be true

    Right now i have a interface which has 10 errors (over 1 year). But the trigger is true because 10 > 2. What i really want is the average over last 15 minutes (3 datapoints, each one gathered over 5 minutes) is 10. Compare that with the current value. If it's higher than 2, than should be True. So 12 or more errors should be True in this case.

    Sorry if it's a bit vague, hopefully you guys can help me
  • TheNetworkGuy
    Junior Member
    • Jul 2018
    • 6

    #2
    Never mind, found another way by calculating the values per second in pre-processing.

    Comment

    Working...