Alerts
Send alerts to Microsoft Teams
OnlineOrNot posts alerts to Microsoft Teams through a Teams Workflows webhook. Each alert is an Adaptive Card with the monitor's name and a button that opens it in OnlineOrNot.
On the free plan you can connect one Teams channel. Paid plans can connect more.
Create a webhook in Teams
- In Microsoft Teams, open Workflows
- Create a workflow that starts when a Teams webhook request is received
- Add a step that posts the message as an Adaptive Card to the channel or chat that should receive alerts
- Save the workflow and copy its webhook URL
Connect Teams to OnlineOrNot
- In OnlineOrNot, go to Settings > Integrations > Microsoft Teams
- Click Add Teams channel
- Enter a Channel name so you can recognise the destination later, for example
#engineering-alerts - Paste the workflow URL into Webhook URL
- Click Add integration
Send a test alert
Open the menu next to the channel and click Send test "down" alert or Send test "up" alert. The message is posted to your Teams channel straight away.
Send alerts from a check or heartbeat
- Edit your check or heartbeat
- Scroll to Alert Settings
- Under Microsoft Teams channels to send alerts to, select the channel
- Save your changes
With Terraform or the API, put the integration ID in microsoft_teams_alerts.
What triggers notifications
OnlineOrNot posts two messages per outage:
- A DOWN alert when the outage is confirmed, with details of the failing assertion when there is one
- An UP alert when the monitor recovers
If you've set up reminder alerts, OnlineOrNot also posts a reminder while the outage continues.
Remove the integration
Open the menu next to the channel and click Remove. Delete the workflow in Teams too if you no longer need it.