Alert destinations
A destination is a place alerts go: up to fifty, added with Add destination in Settings > Alerts.
Kinds
| Kind | What it needs |
|---|---|
| Email (SMTP) | your mail server or Gmail: STARTTLS on 587 or TLS on 465, its certificate checked; up to ten recipients |
| Email (Resend) | a Resend API key, and a sender at a domain verified there |
| Slack | an incoming webhook |
| Microsoft Teams | a Workflows webhook ("Post to a channel when a webhook request is received"); the retired Office 365 connectors are refused |
| Telegram | a bot from BotFather, and the chat: its number (-100... for a group or channel) or a channel's @name |
| Discord | a webhook (Server Settings, Integrations, Webhooks); it mentions nobody |
| PagerDuty | an Events API v2 routing key, US or EU region; one incident per machine and kind of trouble, resolved by "back to normal" |
| ntfy | a topic on ntfy.sh or on your own server, with an access token where it asks for one |
| Webhook (JSON) | any address that takes a JSON POST; signed |
For Gmail: smtp.gmail.com, port 587, your address as the user name, and an app password (Google Account, Security, App passwords), never the account's password.
What each one is told
| Option | What it does | Default |
|---|---|---|
| Tell it | the events it hears of | your choice; Backup failed ticked |
| From | how serious an event has to be | your choice |
| KVMs | all machines (new ones too), or chosen machines and groups | your choice |
| Quiet hours | days and hours with nothing new: Quiet hours and pauses | none |
| Reminders | tells again of a machine still in trouble | off |
| Minimal content | the machine's name, what happened and the link only | your choice |
| May be a private address | allows an address on this computer or your own network | off |
| Daily seal of the activity log | a daily message that keeps the log checkable; not for PagerDuty | your choice |
Test and log
- Send test shows what the service answered, in its own words (
invalid_token,chat not found), with every secret taken out. - Log shows the last fifty deliveries since qKVM started: when, what, and how each went.
- A destination that begins to fail is written to the activity log once, and again when it works.
Addresses and secrets
- Every address, key, token and password is stored encrypted and never shown again; the list shows the host only.
- Edited to send elsewhere, a destination asks for its secret again and starts afresh. Close an incident still open at the old receiver by hand.
- qKVM never sends to the wall itself, to link-local addresses or to cloud metadata services. This computer and your own network (10.x, 172.16 to 31.x, 192.168.x, and Tailscale's 100.64.0.0/10) need May be a private address, for a self-hosted ntfy or mail relay too.
- Alerts go through no proxy: let the firewall pass HTTPS on 443 and mail on 587 or 465, or use a relay on your own network.
Delivery
Many changes at once, such as a switch that dies, are one message by email, chat or ntfy, listing the machines; the JSON webhook and PagerDuty get each change by itself. A service that is busy or broken is tried again within a few minutes, one that says no is not.
The JSON webhook
{"app": "QKVM", "event": "offline", "device": "Build server", "address": "192.168.1.20", "state": "offline", "previous": "online", "title": "...", "message": "...", "link": "...", "time": "2026-11-16T09:00:00Z", "id": "msg_...", "what": "offline", "severity": "critical"}
event is offline, no_signal, problem, unchanged, recovered or test; what also tells auth, certificate and fault apart.
Requests are signed by the Standard Webhooks scheme (webhook-id, webhook-timestamp, webhook-signature; HMAC-SHA256 with the secret after whsec_). Check them with the standardwebhooks.com libraries, and refuse a timestamp more than five minutes off. The secret is shown once; Make a new one in the Edit box replaces it.