Node usage
The agent on each node reports the host’s CPU, memory, load, and filesystem usage. Kelpie asks every 30 seconds and keeps the last hour in memory, which is enough to see what a node is doing now and whether something just changed. A restart of the server clears it.
- Nodes has CPU, memory, and the fullest disk for each node.
- A node’s page shows the same with a graph of the last hour, and every filesystem with its size and free space. The one that holds Docker’s data root is marked.
- Endpoints shows the same figures for each connected edge agent’s host, under details. On a Swarm endpoint with node agents, every node shows up on its Nodes page, under the endpoint picker.
- Overview lists disks that are almost full.
For long-term graphs and alerting on anything else, use a monitoring system such as Prometheus with node exporter and cAdvisor. Kelpie doesn’t store history.
What is measured
Section titled “What is measured”| Figure | Source |
|---|---|
| CPU | Share of time not idle across all CPUs, averaged since the previous check. |
| Load | The 1, 5, and 15 minute load averages. |
| Memory | Total minus what the kernel reports as available, so the page cache counts as free. |
| Filesystems | Every data filesystem mounted on the host, such as ext4, xfs, btrfs, zfs, and NFS. |
Filesystems use the same percentage as df: used space against the space ordinary users can
fill, so reserved blocks don’t count as free. tmpfs, overlay, snap images, and the EFI partition
are left out, as are the filesystems that storage drivers mount below Docker’s data root. Btrfs
subvolumes on one device show up once.
The agent reads the host through its / mount at /host. An agent started without it still
reports CPU and memory, which aren’t namespaced, but no filesystems.
Disk alerts
Section titled “Disk alerts”When a filesystem reaches KELPIE_DISK_ALERT_PERCENT (90 by default), Kelpie sends a
disk.full notification. When it drops 5 points below the
threshold, it sends disk.recovered. Each is sent once: the state is kept in the database, so
a server restart or an upgrade doesn’t repeat it. A filesystem that’s unmounted while full is
dropped without a message.
Subscribe a channel to the two events under Notifications. A webhook gets the host, path, and
sizes in data:
{ "event": "disk.full", "title": "/var/lib/docker on node-2 is 91% full", "text": "/var/lib/docker: 182.0 GiB of 200.0 GiB used, 18.0 GiB free", "stack": null, "link": "https://kelpie.example.com/nodes/x7k2...", "data": { "host": "node-2", "node_id": "x7k2...", "endpoint_id": null, "endpoint": null, "path": "/var/lib/docker", "percent": 91.0, "total": 214748364800, "used": 195421011968, "free": 19327352832 }, "at": "2026-12-02T16:04:49+00:00"}On a node of an endpoint, endpoint names it and the title adds it after the host, as in
/ on node-2 (edge-01) is 91% full.
Set KELPIE_DISK_ALERT_PERCENT=0 to turn the alert off. Node and agent outages have their own
events, node.down and agent.unreachable.
Upgrading
Section titled “Upgrading”Usage figures need an agent of the same version as the server. An older agent shows “doesn’t report usage yet” until it’s updated; on Swarm it updates with Kelpie’s stack, edge agents have to be started again with the new image.