Skip to content

Discord

  1. In Discord open the channel settings, then Integrations, then Webhooks, and create a webhook.
  2. In CronBeat open Channels, choose Discord, give it a name and paste the webhook URL.
  3. Use Send test message, then attach the channel to your monitors.

The URL must start with https://discord.com/api/webhooks/ or https://discordapp.com/api/webhooks/. The rules for all URL channels are on Channels and delivery.

A JSON POST with an embed: a colored bar (red for a problem, green for a recovery, amber for a slow run), the state as the title (Monitor down, Monitor recovered, …) linking to the monitor, the monitor name with the reason in words, and fields for the detail, the last success and the expected time. The footer says CronBeat and the timestamp is the time of the event. Long values are cut to Discord’s limits.

Mentions are switched off and names are escaped. Monitor names are user input, so @everyone or @here in a name cannot ping your server, and Markdown or links in a name are shown as typed. Discord is a plan feature: Pro and Enterprise.