Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,555,371
Community Members
 
Community Events
184
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
Atlassian Team members are employees working across the company in a wide variety of roles.
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
Atlassian Team members are employees working across the company in a wide variety of roles.
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
AUG Leaders

Atlassian Community Events