Slack alerts
Post alerts to a Slack channel with an incoming webhook.
Add a Slack channel
Slack posts an alert into the Slack channel the webhook belongs to. Create an incoming webhook for that channel, then paste its URL. After saving, only the end of the URL is shown.
- In Slack, create an incoming webhook for the channel that should get alerts.
- Open Alerts. Under Add channel, set Type to Slack.
- Paste the URL into Slack incoming webhook URL.
- Choose Add channel.
The server accepts only https://hooks.slack.com/, with no other host, no name and password in the URL, and no custom port. A value that isn't a URL is rejected by the form before that check. If Slack isn't on your plan, Type shows Slack (paid plans).
Choose Replace URL to paste a new one. The field is New Slack incoming webhook URL, and the button is Save URL. The message is a Slack post: what happened, the monitor, the status page, and the project. Send test is described on How alerts work.
When it fails
Invalid URLWhy: The value is not a URL.
What to change: Paste the webhook URL.
Slack webhook URL must be HTTPSWhy: The URL is not https.
What to change: Use the https URL Slack gave you.
Slack webhook URL must start with https://hooks.slack.com/Why: The host is not hooks.slack.com, or the URL has a port or a name and password.
What to change: Paste the incoming webhook URL.
Could not replace the URL. Try again.Why: Replacing the URL did not finish.
What to change: Try again.