I could not make sense of this work without research. After three years at CERN, back in Bilbao I decided to work on my own and keep researching and learning. I believe entrepreneurship is the ultimate professional challenge — and, at the same time, an expression of creativity and a claim to freedom.
Zetesis comes from the Greek ζήτησις, inquiry: find the cause before proposing the solution.
In September, Prometheus, the program that collects my servers' metrics and decides when to raise an alert, was down for 37 days. Not a single alert reached me, because the one meant to send it was Prometheus itself.
This post is about how I watch my servers today and, above all, about what watches the watching: a probe that calls the websites like a visitor, a heartbeat that leaves the house every five minutes and a new alert for every incident. What metrics, logs and traces are, and how they fit together, I explained in Building a homelab from scratch: observability; I won't repeat it here.
As in the posts on the servers and the network, I don't give machine names, addresses or domains.
I run two Kubernetes clusters: production, where the applications run, and platform, which serves the rest. Monitoring lives on platform, so that if production goes down it doesn't take the means of seeing it down too.
Production only collects. Its Prometheus keeps one week locally and sends every metric to the platform one with remote_write, Prometheus's way of shipping its data to another server. Promtail, an agent that reads each container's logs, sends them to Loki, the log database. Production's alert rules are evaluated right there, but their alerts go to Alertmanager, which groups alerts and decides whom to notify, and which also lives on platform. Production has no Alertmanager or Grafana of its own.
On platform, Loki keeps 30 days of logs. It can't go beyond 90: the websites' access logs land there, with the visitor's IP, and the privacy policy promises to delete them sooner. Prometheus has a 30-day limit and an 18 GB cap, which in practice leaves it at about three weeks. Grafana, the dashboards, queries both, and Alertmanager sends the alerts to Telegram.
Monitoring has a copy in the other house too
The Prometheus, Loki and Grafana volumes are copied to the other house with VolSync, a Kubernetes operator that snapshots a volume and uploads it with restic. Each at its own pace: Grafana daily, because it holds dashboards and settings and is small; Prometheus every Sunday, and Loki on the 1st of each month.
Loki gets its own schedule because it is expensive to read: its backup takes 16 minutes to walk through some 76,000 files, while Prometheus takes 2 seconds with three times the data. And because of the privacy promise: with 30 days in Loki and a single monthly copy, a log line lives 60 days at most.
A probe calls every website like a visitor
Metrics tell how each piece is doing inside, but not whether a website opens. For that there is a probe, blackbox-exporter, a Prometheus program that makes requests and records the result. It runs on platform and every minute calls the public address of each website, the way a visitor would: it resolves DNS, goes out to the internet and comes in through the same door as everyone else. That way it checks the whole path in one go.
I added it after 15 August, the day two of my websites stopped opening because of LaLiga's blocks on Cloudflare IPs. Nobody warned me: I found out from my phone. Today there are three rules on its results:
Alert
When it fires
DominioCaido
A website has not answered for three minutes
DominioCertificadoCaduca
Its certificate has less than 14 days left
DominioSondasAusentes
The probe has returned no results for ten minutes
The probe rules.
The three minutes keep a network hiccup of a few seconds from waking me up. The third one exists because, if the probe dies, its results disappear, and without that rule the website alerts could die without saying a word.
It has a limit: the probe goes out through the home fibre line. It catches the server, the proxy or a certificate failing, but not another carrier blocking the website during a match.
Thirty-seven days without an alert
In September Prometheus's disk filled up, and the cause was the backups. VolSync copies from a snapshot that it mounts as a new volume; with the storage I use, that volume is a ZFS clone. The clone wasn't deleted when the copy finished, and a live clone prevents deleting the snapshot it comes from. Every week a dead snapshot was left taking up space, until they reached 17 GB of the volume's 30, more than the real data. Prometheus couldn't start, and without starting it couldn't delete old data to make room either.
It stayed like that for 37 days. No alert fired because the one evaluating the rules is Prometheus itself: the system was watching itself. There was an alert designed exactly for this, Watchdog, an alert that is always firing while Prometheus and Alertmanager work, so that someone outside notices when it stops arriving. I was sending it nowhere.
I cut the cause with a storage class that deletes the clone's volume when each copy finishes, and with the 18 GB cap. If it comes back, an alert that counts orphaned volumes will say so.
A heartbeat that leaves the house
Now Alertmanager sends the Watchdog every five minutes to an external monitoring service. The service expects a heartbeat every five minutes, with fifteen minutes of grace; if it stops getting it, the service alerts me itself, from outside. It is the only alert that survives Prometheus, Alertmanager, the network or the power at home going down.
The service only gets that heartbeat. Metrics and logs stay at home.
Every incident left an alert behind
The Prometheus outage wasn't the only one nobody saw. Going over these months' incidents, the pattern repeats: something broke silently and I found it days later, looking by hand. After each one I added the alert that would have caught it:
What happened
Why nothing fired
New alert
The production node rebooted every 15 hours, for 9 days
With a single node, whatever would mark it as down goes down with it
NodoReiniciaRepetidamente
Prometheus and Loki backups, eight days without finishing
The alerts measured whether VolSync was trying, and it kept trying
VolsyncSinBackupCompletado
External Secrets, which brings secrets from Infisical, wrote empty values into about 50
Nobody collected its metrics
ExternalSecretDesincronizado
The daily backup of platform's Postgres, stuck for five days
Platform had no alerts for its Postgres
PostgresBackupStale
2026 incidents and the alert each one left.
Several of them measure an absence. A system that goes down doesn't send a zero, it stops sending, so a rule waiting for a bad value stays silent. That's why there are alerts for when production has sent no metrics for ten minutes, when the probe stops returning results or when a backup's metric disappears. And the backup alerts measure the outcome: the date of the last finished copy.
The alerts are in git too
All these rules are files in the infrastructure repository, each with a comment telling the incident that created it and why it has that threshold. Argo CD applies them on merge, like the rest of the cluster, and the Alertmanager configuration comes from the same repository, with the Telegram token and the heartbeat address as secrets in Infisical. A new alert is reviewed like any other change, and the reason for each threshold stays written next to it.