Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can I update alert field message with latest deduplicated alert message.

We have integrated kapacitor with OpsGenie and configured it to duplicate messages, and this is working fine.

The Message in the alert reads P3, "Warning Server-1 Memory usage is 80%"

When further alerts are added in the activity log for the alert we see:

  • 6:10pm Alert received for the same alias "Warning Server-1 Memory usage is 81%"
  • 6:10pm Alert received for the same alias "Warning Server-1 Memory usage is 82%"

But the message to the operators still shows "Warning Server-1 Memory usage is 80%"

Is there any way to update the original alert to take the message field of the latest alert received ?

1 answer

0 votes
Nick H Atlassian Team Jun 02, 2021

Hi @Neil Benton ,

I see your response on this similar post: https://community.atlassian.com/t5/Opsgenie-questions/Alert-deduplication-and-alert-status-updates/qaq-p/1650126?utm_source=atlcomm&utm_medium=email&utm_campaign=mentions_reply&utm_content=topic

I've added your request to it as well. At this time, the best method is the suggestion in the post above of adding a note each time the alert is deduplicated.

You could also update the alert's message via our Alert API, or manually in the app. I understand automating the update would be ideal, but again unfortunately not possible at this time.

https://docs.opsgenie.com/docs/alert-api-continued#update-alert-message

 

We'll reach out if/when there are any updates on the ticket, ALX-918; Update alert fields / content upon deduplication.

Hi @Nick H 

thanks for the response, I am looking at the API as suggested and it works.  Is there a way of triggering an API call when an alert has been deduplicated ?

Or would I have to write a script that queried all alerts and then updated the message with the latest deduplicated alert message ?  This seems over kill.

cheers

Neil

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Opsgenie

Leveraging Atlassian’s Opsgenie and AWS Cloudformation Registry to stay ahead of incidents

In the past, managing IT infrastructure was a hard job. It required a lot of manual effort and it was hard to keep track of all the necessary information (monitoring, scalability etc). Thankfully, as...

2,349 views 0 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you