Slack Integration
Overview
The Slack integration allows you to receive Onagre alert notifications directly in a Slack channel. When a sensor triggers an alert, Onagre posts a message to the configured Slack incoming webhook, keeping your team informed in real time.
Prerequisites
Before configuring this integration, you need to create an incoming webhook in your Slack workspace:
- Go to your Slack workspace settings and open the Apps section.
- Search for and install the Incoming Webhooks app (or create a new Slack app with an incoming webhook).
- Choose the channel where notifications should appear.
- Copy the Webhook URL — you will need it in the next step.
For more details, see the Slack incoming webhooks documentation.
Configuration Options
- Name (required): A unique name to identify this integration, e.g.
Slack #alerts. - Webhook URL (required): The Slack webhook URL. It must start with
https://hooks.slack.com/services/.
How It Works
When an alert fires, Onagre sends an HTTP POST request to the Slack webhook URL with a formatted message containing the alert details. The message appears in the linked Slack channel.
Summary
The Slack integration lets you route Onagre alerts into your team's Slack channels. Set up an incoming webhook, paste the URL into Onagre, and you are ready to receive notifications.