A custom rule with thresholds defines the WARN and CRIT states.
The question: Is there a way to exclude alerts triggered by “Discards” for emails, but send those alerts via a different channel instead? There are service filters, but no service-values filter for more control.
I do not think there is such a mechanism, but can you explain, why you would want e.g., “Errors” to be sent via email to Bob, while “Discards” would be sent to Alice via SMS?
My goal is to send email notifications only to those who have SOP on how to address them.
If I can isolate a notification rule for a specific value metric, then I can notify only the relevant people about the issue, instead of forcing everyone to analyze each and every alert that has a 5% chance of being relevant to a receiver.
I hope this makes more sense now. Have a wonderful day.
Thanks for outlining the use case. Frankly I think being able to distinguish based on service makes more sense, as one metric without the other of the same service makes little sense.
What you could do is probably create custom plugins to separate the specific metrics into dedicated services and notify on those.