Blog / 2026-11-07
2026-11-07homelab monitoring cron

The silent failure that a glowing fan caught

My server fan reports GPU load in colour. One pasted timezone made a cron schedule silently invalid for weeks.

My home server rack with the RGB header fan showing load as colour
My home server rack with the RGB header fan showing load as colour

I can tell how hard my home AI is working without opening a laptop. One header fan on my Proxmox host is wired to the motherboard's addressable RGB header, and its colour is my GPU's workload.

How the effect works

A small daemon reads GPU load every five seconds and paints the fan on a hue ramp: blue at 0 percent, red at 100. When Cerebro, the llama-swap service sharing that GPU, picks up a real job, the fan goes red. When the queue empties, it rests blue.

The one design decision that matters: the daemon writes only when the colour changes, straight to the USB HID endpoint, bypassing OpenRGB's CLI. A CLI round trip per frame was a write that could hang halfway, and a hung writer is a worse failure than a wrong colour. Write rarely, write directly, keep the path simple.

The photo is the rack at rest. In practice this house now has a status light that does not need a log, a dashboard, or an alert.

The failure was not the fan

The fan is scheduled dark at 23:30 and back on at 07:00 by two cron files, because a server glowing red at 3 AM while the family sleeps is not the feature I wanted.

The timezone had been pasted into the job command line instead of standing on its own `TZ=` line. Cron read the resulting schedule as invalid and skipped the job. No error was logged anywhere. The service itself reported happy uptime for weeks. The only symptom in the whole house was a light that never went out while we slept.

I found it because my daughter mentioned the room was lit. Which is a good reminder that monitoring is not only a technical surface.

The rules I wrote from it

Confirm a schedule is valid instead of assuming a broken job will announce itself. Cron's most dangerous failure mode is silence: it does not throw, it just does not run.

Uptime is not behavior. The service was up and the job never fired. Check the thing you actually care about (the dark fan), not the nearest proxy (the service that is "running").

And a physical indicator earns its keep. A dashboards-and-alerts stack failed to notice this for weeks. A fan that is supposed to be dark at 23:30 is a monitor you cannot misread.

Tonight the fan goes dark at 23:30, and I will know it worked without opening a log.

Part of the daily AI-journey series: published here Mon-Sat alongside the LinkedIn edition, this version carries the fuller detail.