Diesen Artikel gibt es nur auf Englisch.

Alarme & Benachrichtigungen

Discord alerts with a webhook

Post FastPing down, recovery and warning alerts to a Discord channel with a webhook: no bot to host.

Zuletzt aktualisiert: 1 Min. Lesezeit

Create the webhook in Discord

  1. Open the Discord server's Server Settings, then Integrations, then Webhooks. You need the Manage Webhooks permission.
  2. Click New Webhook and choose the text channel that should receive alerts.
  3. Click Copy Webhook URL.

The URL looks like https://discord.com/api/webhooks/123456789012345678/AbCdEf…. Anyone who has it can post in the channel, so share it only with FastPing.

Add it to FastPing

  1. In the dashboard, open Alert channels, choose the type Discord and paste the URL.
  2. Click Add channel, then Send test: a test message appears in the Discord channel.
  3. Attach the channel to the monitors whose alerts should go there.

FastPing accepts the URL exactly in the form Discord gives it (discord.com or discordapp.com, without extra parameters). Webhook URLs that point into a thread with ?thread_id= are not accepted: use a webhook of a regular text channel.

What the message looks like

Alerts are posted under the name "FastPing" as an embed: the title is the alert's headline (for example Down: Survival SMP) and links to the monitor in your dashboard, the description holds the check's message (No response (timed out)), a Target field shows the address and the footer says where the check ran from. The embed colour follows the state: red for down, green for recovered, amber for warnings and blue for changes and tests. Alerts never mention roles or members.

Troubleshooting

MessageWhat it meansWhat to do
That destination does not look valid for this channel type.The URL is not a Discord webhook URL in the expected form.Copy the URL again with Copy Webhook URL and paste it without changes.
Test failed: HTTP 404The webhook was deleted in Discord.Create a new webhook and replace the channel.
Test failed: HTTP 429Discord is rate-limiting the webhook.Wait a moment and try again; avoid sharing one webhook between many tools.

Brauchen Sie weitere Hilfe?

Schreiben Sie uns, und ein Mensch antwortet Ihnen, meist innerhalb eines Werktags.