I’m trying to create a Filter than can send me an email notification when a check fails and every 10 min while keep failing.
So far if I use this:
"event.check.occurrences == 1"
I get a notification when the status changes from OK to Fail and back to OK. So, I guess that part is ok.
If I try to use:
"event.check.status == 1 || event.check.status == 2"
I got a notification every minute which is not what I want.
I even try this:
"event.check.status == 1 || event.check.status == 2 || event.check.occurrences % (300 / event.check.interval) == 0"
But that game me notifications for all Passing and Failing every 300 sec which is not what I want.
How can I add an expression to only send a notification is the check fails every 10 min?