Good day!
There is a trigger that is triggered under certain conditions. And the status is "problem" to distraction, as an "emergency" conditions continue to persist.
Is it possible to do to the trigger is switched to "resolved" if the issue is hanging for, for example, 72 hours?
What was tried:
1. Expression recovery does not work, since the expression problem remains "in force".
2. Manipulation of {TRIGGER.VALUE}=0 and {TRIGGER.VALUE}=1 - trigger begins to "flapt". That is, trigger constantly goes from "OK" status "problem".
3. The function "avg" and "min/max" for the last N hours not working. The evaluation of this values takes place only at the time of a trigger when the value is "emergency". After N hours after trigger, counting is not performed, the trigger remains in a state of "problem".
4. Function "nodata" for the last N hours not working. The fact that the data is collected every minute by an agent.
5. Function change - that is, to respond if the value has changed and Vice versa - not to react if the value has not changed. Not perfect, as in this case, the trigger hangs not more than a minute, they don't have time to react. Need to hung 72 hours.
Need expression in a kind: if OperStatus = 2; if OperStatus = 2 for 72 hours and more - a solution to the problem.
Thank you very much for Your help!