Feature: alerts

Told When a Machine Needs You

qKVM watches the machines while nobody looks, after everybody has signed out and after a restart. When one goes offline, loses its picture, has its login rejected or reports a fault, the places you chose are told, and told again when it is over.

What It Tells, and How Serious

EventSeverityMeans
OfflineCriticalThe KVM or the server's controller stopped answering
Server critical faultCriticalIts controller says so, with the names of the sensors behind it
Certificate changedErrorThe device shows another certificate than the one remembered for it
Login rejectedErrorThe device refuses the saved password
Other problemErrorWhat the tile shows as a problem
Backup failedErrorA backup of the wall was not made
Picture lostWarningNo video signal; a server switched off
Screen unchangedWarningA screen watch on the machine went off
Back to normalInfoTold exactly where the trouble was told, so an incident opened is closed
A change counts once it has lasted about half a minute, so one hiccup stays quiet. A machine that did not come back after a power cut is told two minutes after qKVM starts.

Where They Go

Nine kinds of destination, fifty destinations at the most. Every address, key and token is stored encrypted, and never shown again.

DestinationWhat it takesHow it arrives
Email (SMTP)Your own mail server, or Gmail with an app password; STARTTLS on 587 or TLS on 465Up to ten addresses; many machines at once in one message
Email (Resend)A Resend API key, and a sender of a domain verified thereMail, many machines at once in one message
SlackAn incoming webhookA message in the channel
Microsoft TeamsA Workflows webhookAn Adaptive Card with a button to the wall
TelegramA bot from BotFather, and the chat it writes toA message in a chat, group or channel
DiscordA webhookA message that mentions nobody
PagerDutyAn Events API v2 routing key, US or EUAn incident per machine and kind of trouble, resolved by back to normal
ntfyA topic on ntfy.sh or on your own serverA notification; a tap opens the wall at the tile
Webhook (JSON)Anything that takes a JSON POSTEach change by itself, signed as Standard Webhooks (HMAC-SHA256)
A destination on your own network, a tailnet or the same computer needs May be a private address ticked. Alerts go directly, through no HTTP proxy, and mail only on ports 587 and 465.

Each Told What It Asked For

By severity

Each destination ticks its events and sets how serious one must be: critical only, errors and worse, or warnings and worse.

By machine and group

All machines, or chosen machines and groups, a group counted as whatever is in it on the day: one customer's alerts to that customer.

Many at once, one message

A switch that dies takes its machines with it: mail, chat and ntfy get one message listing them, thirty by name, then a count.

Quiet hours

Recurring for each destination, every day or on the days ticked. When they end, what is not as it was is told.

A pause for maintenance

An hour or four with nothing new sent. When it ends, what changed meanwhile is told; what went wrong and was put right is not.

Reminders, if you want them

Off unless chosen: every 30 minutes up to once a day, a destination is told again of a machine that is still in trouble.

Send test, and a log

Test shows the service's own answer, every secret taken out. Log shows the last fifty deliveries and how each went.

A link to the machine

An alert opens the wall at the tile it is about. A test bench switched on and off all day can be left out with one switch.

Screen Watches, Phones, and Limits

Screen watches
Per machine: No signal for so many minutes, and Screen unchanged for so many minutes. The picture that set one off is kept on the wall for an admin for 30 days, and never sent.
What they do not mean
Unchanged is not hung: a login screen nobody uses looks the same, and a hung computer whose clock ticks changes. No signal is not off: a sleeping screen sends nothing either. No text is read.
On a phone
Settings, Alerts, This browser: Web Push for any account, of the machines it may see, encrypted for that browser alone; a tap opens the tile. It needs HTTPS with a certificate the phone trusts, and on iPhone and iPad iOS 16.4 or later, from the Home Screen.
Tried in
Web Push was tried with Chrome on Windows 11. Safari, Firefox, Edge and phone browsers have not been tried yet.
What leaves the wall
The machine's name, what happened and when, its address, the text its tile shows and the link. Never a password, a token or a picture; Minimal content leaves out the address and the text.
Retries
After 5, 30 and 120 seconds where a service was busy or broken, never where it said no. An alert still waiting for a retry when qKVM stops is not sent after it starts.
Locked start
Started with --locked-start, qKVM can neither look at a device nor tell anybody until somebody signs in.
In the Desktop App
On screen when a machine goes away or comes back, and Windows notifications if chosen.