Problem is, the error appears multiple times (10-20) within a few minutes or sometimes within a few hours.
I have this check every 30 minutes. If I use "check status" -> "after 2 consecutive bad" I won't work because of the timing issue - I might check every 1 minute and use this condition of "2 consecutive..."
I just want an e-mail the very first time the error appear and then I don't want any more e-mail, even if the error condition stays. I have a mail2sms gateway and had 45 sms this morning about this fragmentation because I sent the e-mail after "1 consecutive...". Any ideas for this?
More precise:
The event apperar 01:23 and it reports "bad", I get an e-mail or 2 sms (size restriction). Half an hour later it recheck and sees that there is no no entry, I get another e-mail/2 SMS.
The next same error apperar 02:23, reports "bad" again with another e-mail and 2 SMS. 02:53 it reports good again - doesn't mean the error is gone but that there is no new entry. 03:23 I get a new event entry of my error with another set of mail and sms.
If I increase the time to check to over 1h I could control that better. But I want a message immediately after this error appears the first time but only once. I know, I am complicated
