You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I would say it is not possible within Opsgenie but maybe I'm wrong.
Is there a way to set the integration to only create the alert IF another integration is not alerting?
Eg.: I have services A and B where B depends on A, so if A is offline then both A and B will send the alert.
Is there a way in Opsgenie to tell B's integration not to create an alert if A is alerting?
Hi @DDavid ,
There isn't a way to do this exactly, however if these 2 integrations are both creating alerts with the same alias field, then those alerts will de-duplicate instead of creating 2 separate alerts.
So integrationA creates alert with alias = "XXX", then integrationB creates alert with alias = "XXX", then that alert will de-duplicate and increase the count of the existing alert instead of creating a separate alert. So you could leverage this so if integrationA stops alerting, then integrationB will still create the alerts.
You could setup an OEC that triggers when a new alert is created for B. It would run a script to search open alerts and see if there is one currently open from A. If so, close the B alert.
You might need to put a notification delay on the B alerts to allow time for this to happen.