My lab dashboard counts a 404 as up
My homelab dashboard counts any HTTP answer as up, a 404 included. An audit on November 19 found dead tiles and a deploy script that had been broken for 19 days. Earlier, a CPU temperature turned out to come from the Wi-Fi card.

The home cluster has a dashboard. I wrote it on May 29 to replace an off-the-shelf homepage app, and it's grown into the page I open first when something feels off. It's a Next.js app with a grid of service tiles, each with a coloured dot for health, plus host vitals, containers, recent SSH logins, backups, cron jobs, the devices on the LAN and a Wake-on-LAN button for the second PC.
The health dots poll every 15 seconds. Each probe gets four seconds. And this is the rule that decides the colour:
// Probe one service. Any HTTP response (even 401/403) counts as "up" — it means
// the service is listening. If the HTTP fetch fails, fall back to a TCP connect
// so self-signed TLS / non-HTTP quirks don't show a live service as down.
async function probe(id: string, url: string): Promise<HealthResult> {
I wrote that on purpose. Half the services in the lab answer an anonymous request with 401 or 403, and a few speak TLS with a self-signed certificate. A strict check would paint them red all day, and a dashboard that's always partly red trains you to ignore red. So any answer at all means up.
The cost of that rule showed up on November 19.
The audit
I have a scheduled agent job that goes over the dashboard every so often, checks each tile against the real service, and reports what it finds without changing anything. On the 19th it came back with a list, and I spent the morning working through it.
The code editor tile. It pointed at a browser IDE that had been replaced by a different setup some time before. The tile still had a link, the link went nowhere useful, and there was a second, duplicate tile for the same box. Both went, and one tile for what actually runs there replaced them.
The Pangolin tile. Pangolin is the tunnel and reverse proxy that puts some of my services on the internet. The tile pointed at its public hostname, which no longer had a DNS record at all. At 09:33 I pointed the tile at the container's LAN address instead, with a plain TCP check, and it went green.
Five minutes later I looked at what that address actually served. It was a bare 404. That container doesn't run Pangolin any more. It holds a different proxy for one service and the connector that talks to the real Pangolin, which now lives on a VPS and already had its own tile. The tile was green because a TCP connect succeeded, and an HTTP check would have counted the 404 as up anyway. At 09:38 it was deleted.
The deploy script. On October 31 the dashboard moved off the Proxmox host and into its own unprivileged container. The deploy script didn't move with it. It still copied a collector script that no longer existed, restarted a service on the host, and pointed at the old address. Any deploy since October 31 would have failed on step one, for 19 days. Nobody noticed, because changes had been going straight into the live checkout inside the container. Those changes had never been committed either, so the same morning they went into git: CPU usage computed from node-exporter counters, null checks, a few URLs, and the removal of another dead tile for a gateway that had moved.
After the audit, I checked all 15 LAN tiles that remained by hand, and every one of them answered.
Wrong numbers that looked right
Dead tiles are at least visible if you click them. The worse bugs, found earlier during the October 31 move, were numbers that looked plausible.
The CPU temperature came from thermal_zone0, the first thermal sensor Linux lists. On this box, that's the Wi-Fi card. The number was believable, it moved a little with load, and it was the wrong chip. It now reads the AMD CPU sensor, k10temp, with Intel's coretemp as the fallback for other machines.
The backup panel had two of these. The first version rebuilt the list of backup archives from Proxmox's task logs. When I deleted archives by hand outside a backup task, the logs never heard about it, so the panel kept showing 18 archives that no longer existed. The fix was to read the disk. Listing archives through the Proxmox API needs a permission that would also let the dashboard start backups, and I didn't want a read-only page holding that. A small script on the host publishes the file list every five minutes as node-exporter metrics instead, and the dashboard reads those.
The second backup bug lasted two minutes. During the October 31 move, the regular expressions that find failed backups in task logs lost their backslashes. /Starting Backup of VM (\d+)/ became /Starting Backup of VM (d+)/. A regex with a missing backslash doesn't throw. It just never matches, so the panel would have reported zero backup failures forever. The fix went in at 15:03, two minutes after the commit that broke it.
What I changed, and what I didn't
The "any answer is up" rule stays. It answers the question it was built for, which is whether something is listening on that port. It was never able to answer whether the right thing is listening, or whether the tile should exist at all. The audit job answers those, and it runs on a schedule because I won't remember to.
Of the 72 commits in the repo, 31 touch the service catalog. Over six months, 63 different services have been added to it and 30 removed. A tile list changes that fast, and the dashboard shows a dead entry as healthy as long as something still answers on its port.