Hi,
I'm working in an integration between OpsGenie and Status Page. The purpose is, when certain alerts are created in OpsGenie, create an incident on the Status Page and update the affected component. Here is a summary of the items that we would like to accomplish using this integration:
This is how the Integration is set:
The component id tag is added properly at the creation of the OpsGenie alert.
I am having two issues:
Please let me know how can I add tags to alerts when certain actions are done. Or if there is another way to update the status page component/incident status, I'll be more than happy to follow it.
Thanks!
Hey Pedro,
Thanks for reaching out to Atlassian Community!
I just tested the described scenario and once I close the alert in Opsgenie, it automatically closes the incident in Statuspage and sets the status of the affected component back to operational.
I noticed that in your integration you set just to close incident when an alert is closed in Opsgenie. Could you please change it to resolve the incident and update the components' statuses according to tags? This helped me to close all of the affected components, please let me know if it'll work for you.
What is related to your second question regarding acknowledging alert and adding a tag to it - I'm afraid that at the moment there's no such possibility and you will not be able to add a tag to an alert once it's acknowledged.
There's a possible workaround using actions and global policies, please see the following article to find out how to add a specific tag to an alert once an action is made. https://community.atlassian.com/t5/Opsgenie-questions/Adding-tag-to-alert-through-action/qaq-p/1546936
I hope this helps, please let me know if you have any further questions.
Also, this is a community, so it might take some time to get a reply. In case you want to contact support, please use the following source in the future - https://support.atlassian.com/opsgenie/
Best Regards,
Egor
Hi Egor,
Thanks for your response!
Regarding updating SP component status with the resolve the incident and update the components' statuses according to tags option: I think I have tried it and it does not work for the component status. It closes the SP Incident but the component does not come back to the operational status. Could you please confirm if I need to modify (or add) the tag cmpid_[id]:operational? Or should it work without the modification? I mean, with the tag cmpid_[id]:major_outage, for example.
Regarding the current limitation of adding a tag trought certain actions:
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Pedro,
When I tested it from my side, I did not have to set the tag in order to reverse the component state back to operational. May I ask you please to set it to "resolve the incident and update the components'" and give it a test? Please let me know the results.
What is related to actions - sorry I was not clear. That was a workaround so that when you acknowledge an alert, you also have to do an extra step and start the action, as described in the shared article.
I could not find any feature requests regarding above, so I went ahead and created one. Please see https://jira.atlassian.com/browse/OPSGENIE-1669
Feel free to add any additional comments to it and please start watching it to get notifications about further updates.
Please let me know if there's anything else I can help you with.
Best Regards,
Egor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It would be really nice to have any kind of indication on how should I address this issue, even if it's just a current limitation so I can start working on a workaround.
Please let me know if something is not clear in the problem description, or if I should have posted it in a different place.
Sorry for the insistence, and thanks again!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.