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

How do I connect Slack system status to Opsgenie

LindaTran April 20, 2023

I would like to create a alert trigger from Slack status to opsgenie to notify us when there are issues with slack. 


Link reference:
https://api.slack.com/docs/slack-status
https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-slack-app/

There seems to be two ways:
API Reference:
https://status.slack.com/api/v2.0.0/ - current endpoint to check for active incidents. 
-Or-
Use via RSS to subscribe to Slacks status feed: https://status.slack.com/feed/rss


Steps ive looked into:

API route:
https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-slack-app/
From Opsgenie, Add the integration from your team dashboard> Teams> Select integrations and select Add integration. Specify who is notified of Slack Status using responders field. Lost on where to plug in the API endpoints to retrieve data. Then Save integrations.
Learned that the working with slacks status API is not event driven API. To get updates from API, we will need to send GET requests to the API endpoints to retrieve data. Sounds like that means, we will need to have our own web app configured to periodically poll the endpoint with a GET request and then send that data to Opsgenie….Currently checking to see if Opsgenie supports setting up a polling automation….

Connect RSS feed to Opsgenie
We can try to use RSS to subscribe to slacks status feed, but we will need our own RSS solution and set it up to feed status updates from the feed to my Opsgenie integration. After some digging, it sounds there is no integration to create opsgenie alerts from an RSS feed. How can I trigger an alert from a generic RSS feed?
There seems to be an option using Zapier to build notifications between opsgenie and slack...

Has anyone does this through APIs or any simpler way??

 

1 answer

1 accepted

0 votes
Answer accepted
Shivam Naik
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 21, 2023

Hi @LindaTran ,

Happy to help!

Unfortunately with the methods Slack is offering with their Status updates, turning these into Opsgenie might be a little complicated. The integration in your first method outline would only work for Environments that you own, but if the idea is to pull in the Slack Status to Slack and use that to send alerts to Opsgenie, that could work. But you would need to find a solution to poll the Slack API automatically as Opsgenie does not have that capability.

For your second method, you are correct, and we do have a Feature Request here https://jira.atlassian.com/browse/OPSGENIE-1442 to have a RSS integration added to the product going forward. Using Zapier is the recommended way to port those RSS payloads into Opsgenie as alerts until a more direct solution becomes available.

Please let us know if you have any follow up questions. It may be worth opening a Support case with us so that we can look into your Opsgenie environment to see how things are currently set up, and what could be done

LindaTran April 27, 2023

Thank you for confirming my theory that Zapier will be the best work around for now. There has been raised concerns due to this being a 3rd party app. I ran into an issue trying to allow zapier to access the opsgenie account.  I plugged in the API key. Ran into an error adding the account, could not authenticate. I am double checking the account if it has the correct permissions and I am further checking with an admin. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events