Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,849
Community Members
 
Community Events
168
Community Groups

Can Opsgenie Close Azure Monitoring Alerts

Hello,

We setup an Opsgenie integration with MS Azure Monitoring.

The Alert from MS Azure Monitoring to Opsgenie is working as per the setup through the docs. 

https://docs.microsoft.com/en-us/azure/service-health/service-health-alert-webhook-opsgenie#:~:text=Navigate%20to%20the%20Integrations%20section,%2C%20Enabled%2C%20and%20Suppress%20Notifications

https://docs.opsgenie.com/v1.0/docs/microsoft-azure-service-health-integration

However we notice when we close the alert in Opsgenie the Azure Alert is still open.

When we close an alert in Opsgenie, is there a call back to Azure to close the Azure Alert ?
if yes, anyone know which doc can help us setup this functionality.

thanks,

1 answer

1 accepted

0 votes
Answer accepted
Nick H Atlassian Team May 03, 2021

Hi @shaun99 ,

The Azure Service Health integration does not have any outgoing flow - meaning requests made on the Opsgenie alert will not reflect in Azure.

At this time the integration can only ingest requests from Azure.

-Nick

hi Nick,

thanks for the info and feedback.

MS team mentioned in their forum they have an REST API that allows an external service to POST back to them changing the state of the Azure Alert to close.

API MS team provided 

POST https://management.azure.com/{scope}/providers/Microsoft.AlertsManagement/alerts/{alertId}/changestate?api-version=2019-03-01&newState={newState}

I notice in the Opsgenie Azure Integration section there is a configuration for close. please see attachment.

is there  a way to configure the above API in the  Opsgenie close section of the  integration ? reason being in the integration guide, Azure post of the requirement parameters to Opsgenie. 

thanks,integration.JPG

Nick H Atlassian Team May 04, 2021

Some of out integrations, like Jira, have built-in mappable outgoing actions. Meaning actions can be taken on the Opsgenie alert - such as close - and reflect on the Jira issue so change the status, add a comment, etc.

Unfortunately Azure does not have this prebuilt functionality. An alternative that might work is our webhook integration. This can be used to POST back to an endpoint when an action is taken on an Opsgenie alert: 

https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-webhook/

But I can't for certain say this will work since I don't think we've come across this with other customers.

Let us know if you have any additional questions, issues, etc.,

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

172 views 1 6
Read article

Atlassian Community Events