Work at a hospital and we use Epic have a custom monitor in place that watches a performance monitor for number of failures in the Epic print que.  Some failures are normal and there is a process to clean them up.   What I am looking to do is only trigger an alert if I get x number of failed jobs over a short period of time say 5 failures in 10 minutes would be something I would like to trigger an email and have someone investigate.  Not quite sure how to go about this though.

rtbywalski selected answer