Mattermost alerts
Post alerts to a Mattermost channel with an incoming webhook.
Add a Mattermost channel
Available on Paid plans
Mattermost posts the alert through an incoming webhook on your server. Open Integrations, add an incoming webhook and copy its URL. After saving, only the end of the URL is shown.
- In Mattermost, add an incoming webhook and copy its URL.
- Open Alerts. Under Add channel, set Type to Mattermost.
- Paste the URL into Mattermost webhook URL.
- Choose Add channel.
The URL has to be https, and the path has to end with /hooks/ and an id. Any public host is allowed, including a port. A private or local address is refused, the same way a monitor URL is. The check runs again when the alert is sent. Choose Replace URL and New Mattermost webhook URL to change it. Send test is described on How alerts work.
When it fails
Enter the webhook URLWhy: The value is not a URL.
What to change: Paste the webhook URL.
Use the Mattermost incoming webhook URL (https://your-server/hooks/…)Why: The path is not an incoming webhook.
What to change: Copy the URL from Integrations.
The message starts with
Webhook URL rejected:Why: The host is not a public address.
What to change: Use the public address of your Mattermost server.