About Abbot
Abbot is a programmable bot that turns your team chat into a shared command center. We handle all the boilerplate of building and running these conmmands so that you can focus on making tools that help you ship faster.
We built Abbot because we saw the power of this style of work (called ChatOps), when we worked at GitHub. ChatOps made it possible for GitHub to work productively without meetings, while globally distributed. We think it's a pretty great way to work, so we made it easy to use in Slack, Discord, and Microsoft Teams.
You can read more about Abbot here, check out our blog, or take a look at some of the other cool packages available as a one-click install from Abbot's Package Directory.
README
Similar to the cloud-event skill, use this skill to subscribe to Azure alerts.
Setup is simple. After installing this skill:
- Attach the skill to the chat room where you want to receive alerts:
@abbot attach azure-alert
- That creates an HTTP trigger and responds with the URL to the triggers page. Go there to get the trigger URL.
- Now in Azure Portal, create an alert and for the Action Group, you can use the trigger URL as a webhook. Make sure the webhook is using the common alert schema.
That's it!
Right now, when you get an alert, it will look like:
Received Sev4 alert Phil is Testing (Id: /subscriptions/114d4132-6977-430c-a803-38afcadd0e8b/providers/Microsoft.AlertsManagement/alerts/8f4c69a7-deff-41d6-a6dc-3853eb02a46b)
I could use some feedback on what you'd want to see in the message. Note that once you install the package, you can edit the skill yourself to format the message the way you want.