Hey there, We have a setup in monit whereby we monitor a whole lot of log files for the string "Exception". When monit sees this string, we get an email alert.
There are times when we get spammed very heavily when our application hits the same exception many times.
One solution would be to be smarter around the way we log exceptions, but sometimes it's not always obvious where this type of "often-repeating" exception may occur, until it's too late and we've been spammed.
Was wondering if anyone knew of any method of throttling monit alerts. For example when the same exception occurs more than 5 times, stop alerting for a give period.
Any ideas would be appreciated.