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 is helpful response. I have found simpler solution on the other side of integration (in Site24x7) but it may come in handy in future. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.