← Holocron Logs

The Disk Warning Nobody Saw

AdGuard's container hit 100% of its root disk because the query log kept 90 days of history. The warning had been up for two days and six hours, in a Discord channel nobody reads during triage.

Why this matters beyond the homelab: A vendor’s default retention is a capacity decision someone else made for you. An alert only counts if it lands where a person looks, and a disk warning that sits unread for two days has the same effect as no alert.


The Find

During the Node-C kernel update on 27 October I found the AdGuard container’s root disk at 7.4 of 7.8 GiB used. It was effectively full.

The cause was in AdGuard’s own data directory. Query log retention was set to 90 days, and the log had grown into two large files:

querylog.json    3.5G
querylog.json.1  2.7G

On an 8GB root disk, six gigabytes of query history leaves almost nothing for anything else, and the network’s primary DNS depends on that container.


The Fix

I grew the container’s root disk from 8 to 12 GB, emptied the logs, and set the query log rotation to 7 days. The plan is to confirm the data directory stays under about 2 GB over the next few days.

The disk space was the small part. A larger issue appeared when the storage warning cleared.


The Alert Nobody Saw

The “Resolved” message showed the warning had been active for two days and six hours. The alert existed. It had been posted by the Proxmox monitoring agent to a channel that sits outside the triage order I check first, and that channel is already marked for deletion in the Discord plan.

Two more gaps showed up in the same pass. The agent labelled the AdGuard container, which lives on Node-C, as belonging to Node-B. And when Node-C rebooted for several minutes, I saw no alert for AdGuard, the reverse proxy, or the SIEM going down. Either the monitors and retry thresholds for those services are missing, or they posted somewhere I was not looking. I have not confirmed which.


What Changes

A usage alert at 80% for every container root disk, not only the backup drive. The monitoring agent’s webhook gets repointed into the triage path before its current channel is deleted. Where the agent runs, and whether each node needs its own, is still open.


Takeaways

Retention is a capacity setting. Check what a service keeps by default before it runs unattended.

Route alerts to where you look. The channel an alert posts to is part of the alert.

A reboot is a free test of your monitoring. If a node can go down for minutes with no alert, the monitoring has a hole.


Related: Beszel: Host-Level Monitoring Without Running Another Stack | The DNS Rule That Caught Its Own Resolver | The Alliance Fleet, Reintroduced

← Back to Holocron Logs