I have the calculated item "Standby Lag". I created trigger that must be "Provlem" when:
And must be "Ok" when:
I created item "Log sequence lag (day time)". This is his expression:
Tonight i sow that trigger fired about midnight and flapped over threshold. Why hysteresis and schedule doesn't work?
- 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)