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.
Thanks,
Samir
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.