Integration: Discord

Your Machines' Trouble in a Discord Channel

For a home lab or a team that already talks in Discord: when a machine goes offline, loses its picture or reports a fault, its channel is told, and told again when the machine is back. A webhook is all it takes.

What the Channel Hears

Trouble and its end

Offline, picture lost, login rejected, certificate changed, a server's critical fault, a screen that stopped changing, and back to normal.

It mentions nobody

Discord is told to mention nobody, so a machine named @everyone pings no one.

A dead switch, one message

Machines that drop in the same look are one message that lists them, not a flood.

At Discord's pace

Two seconds at least between two messages, and where Discord asks to be left alone, as long as it asks, ten minutes at the most.

Set It Up

  1. In DiscordServer Settings, Integrations, Webhooks: make one for the channel and copy its address.
  2. In qKVMSettings, Alerts, Add destination, Discord, and paste the address.
  3. Tell itThe events, from which severity, and all machines or chosen ones.
  4. Send testDiscord's answer is shown, with the webhook's secret taken out.

Good to Know

In each message
The machine's name, what happened and when, its address as the tile shows it, the tile's text for a problem, and the link to the tile. Minimal content keeps the name, the event and the link.
The webhook
Its address is stored encrypted and never shown again; the list names Discord's host alone.
Tried again
Where Discord was busy, broken or slow to answer. Never where it said no: a wrong address is not called again and again.
More channels
Up to fifty destinations in all, each with its own events and its own machines.