Skip to content

Slack

Goal: DownBad alerts post to a Slack channel.

You need a paid DownBad plan and permission to add apps in your Slack workspace. Some workspaces only let admins do that.

  1. Create a Slack app with an incoming webhook. Go to api.slack.com/apps, choose Create New App → From scratch, name it (DownBad works) and pick your workspace.
  2. Turn on incoming webhooks. In the app, open Incoming Webhooks, switch it on, then choose Add New Webhook to Workspace and pick the channel alerts should go to.
  3. Copy the webhook URL. It looks like https://hooks.slack.com/services/T000/B000/XXXX. Treat it like a password: anyone with it can post to that channel.
  4. Add it in DownBad. Go to Settings › Alerts, press Add webhook and paste the URL. DownBad recognizes it as Slack. GovSlack (hooks.slack-gov.com) addresses work too.
  5. Press Test now, then save and add the channel to the notification profiles that should use it.

The test message arrives in the channel, headed DownBad WebHook Channel Integrated and marked as an integration test. Real alerts name the monitor, say whether it’s down, still down or back up, give the reason, and link to the incident in DownBad.

DownBad shows Slack’s own reason on the channel when a delivery fails. Find yours below.

“This webhook has been removed or disabled in Slack.” Someone deleted the webhook or the app, or Slack revoked it. Add a new incoming webhook and paste the new URL into the channel.

“The channel this webhook posts to no longer exists” or “is archived.” Unarchive the channel, or add a webhook for a channel that exists and paste its URL.

“A Slack admin has restricted posting to this channel” or “Only admins can post to this channel.” The channel limits who can post. Ask a workspace admin to allow the app, or use another channel.

“The Slack workspace for this webhook no longer exists” or “has been disabled.” The webhook belongs to a workspace you no longer use. Create one in your current workspace.

“This URL is not a Slack webhook address.” The URL isn’t a hooks.slack.com/services/... address. Copy it again from the app’s Incoming Webhooks page. Slack app OAuth tokens and workflow trigger URLs aren’t incoming webhooks.

The test works but real alerts don’t arrive. The channel is probably not in the monitor’s notification profile, or the monitor is muted. See Not Receiving Notifications.

Alerts stopped and the bell says the webhook was switched off. Ten alerts in a row failed. Fix the cause above, then press Test now to switch the channel back on.