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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


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
Community Members
Community Events
Community Groups

Opsgenie alert auto close when the issue is resolved

Hello Team, 


Is there a way to set up an auto-close alert on opsgenie? 


For example:

This is what I have set up, I'm using grafana for monitoring and have set an alert for CPU usage. If the CPU usage reaches 85% then want an alert to be sent to opsgenie which will then send a notification to slack and phone call /SMS.  

All that works fine, the only issue I run into is I want the alert to be able to close if the CPU usage decreases from the threshold I set up which is 85%. 


I have created a brand new dashboard and alert policy from grafana which all tested fine. I followed the suggested steps from Atlassian for creating an API from opgenie and then configuring the API key with grafana.  


Could someone point me to how I can set a policy where the alert gets closed automatically if the gets resolved on its own? Let's say the usage spiked up to 85% for a minute and went back to its normal usage. I want the alert that gets created to be closed after the issue is resolved. 


Thank you


1 answer

1 accepted

0 votes
Answer accepted
John M
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 20, 2022 • edited Oct 28, 2022

Hi @Sohaib Khan

The way the Opsgenie/Grafana integration works is that when an alert is closed in Grafana, the related alert is closed in Opsgenie.

If you set Grafana up to automatically close the alert when the usage drops back below 85%, a 'close' action will be then sent to opsgenie which will close Opsgenie's open alert. 

Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events