Ad Widget

Collapse

combination of trigger .min and .avg / time delayed trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • emcliqz
    Junior Member
    • Feb 2013
    • 15

    #1

    combination of trigger .min and .avg / time delayed trigger

    I want to create a delayed trigger for an average value. Currently I use something like
    Code:
    value.min(5m) > 10
    . What I really want would be something like
    Code:
    value.avg(1m).min(5m) > 10
    so that if the average value stays above some limit for a period of time the trigger fires.

    I have the option now of doing a rough check using time shift. So I can check the average value now and 5 minutes ago, comparing them both against the trigger value. This is subject to false positives, but also it increases my rule complexity.

    Is there some better way to do this?
Working...