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 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 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