Is it possible to send notification only when two alerts matching some rule? For example message including particular text.
First alert is open with message: "Problem with A-1"
Second alert is open with message: "Problem with A-2"
-> send notification according to team rules when both alerts contain "Problem with A-"
But do not send notification, when only one of them is open.
Hi @Lukasz Kaminski ,
The only way to accomplish this (and it might not necessarily meet your use-case) would be through a notification policy. These can be configured to delay notifications until an alert threshold / deduplication count reaches a certain value.
Yours might look something like this:
Deduplication is dependent on the alias field of an alert: https://support.atlassian.com/opsgenie/docs/what-is-alert-de-duplication/
Using this approach would increase the count of an alert vs. having one created for both the A-1 and A-2 alerts. There isn't a way for Opsgenie to identify an open A-1 alert, then delay notifications until a new A-2 alert is created. Again, they would have to deduplicate and increase count on the same alert for this policy to apply.
Hope this helps. Let us know if you have any additional questions.
This article was co-authored by Gavin Cohen of Zebrium. Zebrium has a bi-directional integration with Opsgenie and is a machine learning solution for RCA. We all know the drill. 💤 You'r...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events