Hi all,
I've set up an Azure integration to handle alerting and I'm looking for a way to automatically close the alert on OpsGenie as soon as the Azure Alert reports that the issue is resolved.
I've been looking at other questions, and one seems similar except that I don't see a lot of things that are on the screenshots in that question ("Actions" side bar and "Filter" sections for example).
I feel like it's stripped down and doesn't have a lot of options to configure the alerts:
The "Actions" side bar and "Filters" section seems to be what I need to properly set up what I need. Could someone explain me how to get those?
Kind regards,
André
Regarding the part of this issue that Alerts where not being closed by the Azure webhook callback: When creating an action group in Azure and using the Webhook action type, you have to explicitly set the usage of the Common Alert schema:
When this switch is set to "Yes" the common alert schema will be used and the "Status" property of the payload will contain the expected value of "Resolved". This will trigger the OpsGenie integration to close the alert.
Hi @André de Zwart ,
This is because you are on a plan that does not include Advanced Integrations feature. Advanced integrations is what allows you to modify the integration and customize the filters for which requests from Azure will create an alert, and which requests will close an alert.
Since you do not have this feature, your integration has the "Default" filters set up like this.
Create Alert Action - when Azure sends a request that matches this filter, it creates an alert in Opsgenie
Close Alert Action - when Azure sends a request that matches this filter, it will close the corresponding alert in Opsgenie
You can check the logs in your account to see the request being received from Azure, to se if it's not matching this filter. However since you don't have a plan that includes Advanced Integrations, you will not be able to modify that Close Alert Action filter. You would have to upgrade to a plan that includes this feature.
Thanks,
Samir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, this really helped. I've found the logs and the webhook call for closing is indeed received by OpsGenie, but logging indicates that no matching actions are found.
Kind regards,
André de Zwart
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.