Slack Notification Setup
Receive alerts directly in your Slack channel when monitors go down or recover.
Prerequisites
- A Slack workspace where you have permission to add apps
- A Slack channel where you want to receive alerts
Step 1: Create an Incoming Webhook in Slack
- Go to Slack API: Incoming Webhooks
- Click Create your Slack app (or use an existing app)
- Select From scratch
- Enter an app name (e.g., “Monitoring Alerts”) and select your workspace
- Click Create App
- In the left sidebar, click Incoming Webhooks
- Toggle Activate Incoming Webhooks to On
- Click Add New Webhook to Workspace
- Select the channel where you want to receive alerts
- Click Allow
- Copy the webhook URL that appears - you’ll need this in the next step
The webhook URL will look like this:
https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX
Step 2: Add the Webhook to Your Account
- Log in to your monitoring dashboard
- Go to Settings in the navigation menu
- Click the Slack tab
- Click + Add Webhook
- Enter a friendly name for this webhook (e.g., “Production Alerts” or “#ops-channel”)
- Paste the webhook URL you copied from Slack
- Ensure Active is checked
- Click Add Webhook
You can test the webhook by clicking the Test button. A test message will be sent to your Slack channel.
Step 3: Assign the Webhook to Monitors
- Go to Monitors in the navigation menu
- Click on a monitor you want to receive alerts for
- Click the Notifications tab
- In the Slack Webhooks section, select your webhook from the dropdown
- Click Add
Repeat this for each monitor you want to receive Slack alerts for.
Alert Types
You’ll receive notifications for:
- Down alerts: When a monitor fails (HTTP errors, SSL certificate issues, domain expiration warnings)
- Recovery alerts: When a monitor recovers after being down
Each alert includes:
- Monitor name
- URL or domain being monitored
- Error details (for down alerts)
- Downtime duration (for recovery alerts)
- Timestamp
- Link to view the monitor in your dashboard
Managing Webhooks
Edit a Webhook
- Go to Settings > Slack
- Find the webhook you want to edit
- Click Edit
- Make your changes and click Save
Disable a Webhook
You can temporarily disable a webhook without deleting it:
- Go to Settings > Slack
- Find the webhook you want to disable
- Click Edit
- Uncheck Active
- Click Save
Disabled webhooks won’t receive any notifications until re-enabled.
Delete a Webhook
- Go to Settings > Slack
- Find the webhook you want to delete
- Click Delete
- Confirm the deletion
Deleting a webhook will remove it from all monitors it was assigned to.
Troubleshooting
Test message not arriving
- Verify the webhook URL is correct and complete
- Check that the webhook is marked as Active
- Ensure the Slack app still has access to the channel
- Try creating a new webhook in Slack and updating the URL
Alerts not being sent
- Check that the webhook is assigned to the monitor
- Verify the webhook is Active in Settings
- Check if you’ve exceeded your notification quota
- Ensure the monitor has alerting enabled
Webhook URL rejected
The webhook URL must match the Slack format:
https://hooks.slack.com/services/[TEAM_ID]/[APP_ID]/[TOKEN]
Make sure you copied the complete URL including all three path segments.
Channel was deleted or renamed
If the Slack channel associated with a webhook is deleted:
- Create a new incoming webhook for the new channel in Slack
- Update the webhook URL in Settings
Multiple Channels
You can create multiple webhooks to send alerts to different Slack channels:
- Create separate webhooks for different teams or severity levels
- Assign different webhooks to different monitors
- A single monitor can have multiple webhooks assigned
Example setup:
#ops-critical- Production monitors#ops-warnings- SSL and domain expiration warnings#dev-alerts- Development/staging monitors
Security Notes
- Webhook URLs contain authentication tokens - treat them as secrets
- Don’t share webhook URLs publicly or commit them to source control
- If a webhook URL is compromised, delete it in Slack and create a new one
- Rotate webhooks periodically as a security best practice
- Consider using private channels for sensitive alerts
Customizing the Slack App
You can customize how alerts appear in Slack:
- Go to Your Slack Apps
- Select your monitoring app
- Click Basic Information in the sidebar
- Scroll to Display Information
- Update the app name, icon, and description
- Click Save Changes
This affects how the bot appears when posting messages to your channels.