Ad Widget

Collapse

Trigger with hysteresis and time schedule

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DeV1L
    Junior Member
    • Sep 2015
    • 11

    #1

    Trigger with hysteresis and time schedule

    I have the calculated item "Standby Lag". I created trigger that must be "Provlem" when:
    • Last imem value > 3
    • Time is from 02:00 to 22:00


    And must be "Ok" when:
    • Average item value for 15 min comes to 0


    I created item "Log sequence lag (day time)". This is his expression:
    Code:
    ({TRIGGER.VALUE}=0 and {oracle_standby_lag:db.odbc.select.standbylag.last()}>3  and {oracle_standby_lag:db.odbc.select.standbylag.time()}>020000 and {oracle_standby_lag:db.odbc.select.standbylag.time()}<220000)
    or ({TRIGGER.VALUE}=1 and {oracle_standby_lag:db.odbc.select.standbylag.avg(15m)}=0)
    Tonight i sow that trigger fired about midnight and flapped over threshold. Why hysteresis and schedule doesn't work?
    Last edited by DeV1L; 13-11-2015, 20:50.
Working...