Discord alerts
Get downtime and missed cron job alerts in a Discord channel — a good fit for communities, game servers, and teams that run on Discord.
The Discord integration posts one message when an incident opens and one when it resolves, colored red or green so the state is readable at a glance. It uses a channel webhook, so there is no bot to add to your server and nothing that can read your messages.
Setup takes four steps: create the webhook in Discord, add it to WatchCat, put the integration in a notification channel, and assign that channel to your monitors.
Step 1 — create a Discord webhook
You need the Manage Webhooks permission on the channel.
- 1 Open Discord and go to the channel that should receive alerts.
- 2 Click the gear icon next to the channel name to open Channel Settings.
- 3 Select Integrations, then Webhooks.
- 4 Click New Webhook and name it "WatchCat".
-
5
Click Copy Webhook URL — it starts with
https://discord.com/api/webhooks/…
Step 2 — add a Discord integration in WatchCat
- 1 Go to Integrations → New integration and select Discord.
- 2 Paste the webhook URL and give the integration a name, for example "Discord #status".
- 3 Save, then click Send test alert on the integration's page to confirm the message arrives in Discord.
A webhook posts to one channel. To alert several Discord channels or servers, create one webhook per channel and add each as its own integration.
Step 3 — add the integration to a notification channel
Monitors alert through notification channels, not through integrations directly. A channel bundles email recipients and any number of integrations, so one Discord integration can serve as many monitors as you like. How notification channels work →
- 1 Go to Notification channels → New channel, or edit an existing one.
- 2 Under Integrations, check the Discord integration you just created.
- 3 Save the channel.
Step 4 — assign the channel to monitors
Edit an uptime or cron monitor and check the channel under Notifications. From then on, an incident on that monitor alerts Discord when it opens and again when it resolves.
What a Discord alert contains
One message when an incident opens and one when it resolves — never a repeat on every failed check. The message is written to be acted on without opening a dashboard first:
Uptime monitor goes down
The monitored URL and check interval, the cause (for example a status code other than the expected one, a missing keyword or an invalid certificate), the regions that saw the failure, the HTTP response, how long it has been failing, a short excerpt of the response body, and links to the incident and the monitor.
Uptime monitor recovers
Total downtime, when it started, the current response, and the cause the incident opened with.
Cron job misses its schedule
The expected interval and grace period, how overdue the ping is, when it was expected, and when the last ping arrived.
Cron job pings again
How long it was overdue, when the ping arrived, and when the next one is expected.
Times are shown in your organization's timezone. The wording is the same in every chat integration, so a team split across tools reads the same alert.
See whether Discord accepted the alert
Every request WatchCat sends is recorded on the integration's page: the outcome, the HTTP status, an excerpt of the response, the error if there was one, and how long it took. When an alert seems to be missing, you can tell whether Discord refused it or it was never routed there. The log is kept for 7 days on Free, 30 days on Pro, and 90 days on Team.
Other integrations
A notification channel can hold several integrations at once, so chat, on-call and your own tooling can all hear about the same incident.
Related
Start monitoring in minutes
Free plan available. No credit card required.
Google Chat
ilert
incident.io
PagerDuty
Slack
Telegram