Metrics

The easiest thing a monitoring panel can do is show a single percentage; the hardest is show what that percentage is hiding. This page walks through the four families of measurement in VigilWatch and, in each of them, the figures that sit underneath the headline number.

An aggregate percentage hides the two failures that matter most

An aggregate percentage hides the two failures that matter most

Reducing a machine's condition to a single number is easy, and that number usually answers the wrong question. Every measurement in VigilWatch is designed to show what sits underneath it.

  • A process pegging one core. On an eight-core machine that reads as 12% busy — it crosses no threshold at all, while the queue behind it has stopped moving.
  • A machine idle because it is waiting. The processor sits at 5%; without the iowait and steal split there is no way to tell waiting on a disk from the hypervisor taking time the VM paid for.
  • Full memory that is perfectly healthy. 92% full is a healthy machine when most of it is cache and a failing one when none of it is. The percentage shows both the same way.

Every metric arrives every thirty seconds and is rolled up four times

Processor

Usage per core, plus the user / system / iowait / steal split and temperature. Load average across all three windows at once.

Memory

Used, available, cached and swap, in bytes as well as percent. Swap being disabled and swap being unused are two different states.

Disk

Per-filesystem usage and inodes, throughput, IOPS and average service latency. Throughput and IOPS both look healthy right up until latency climbs.

Network

Per-interface throughput, packets, and drops and errors as a share of traffic. 400 dropped packets is a rounding error against four billion and one in a hundred against forty thousand.
Server detail — processor per core

Server detail — processor per core

Each core beside the aggregate dial. Underneath it, the user / system / iowait / steal split and the last hour's average and peak.
Memory, swap, disk and network

Memory, swap, disk and network

Four dials side by side: how much of memory is cache, whether swap is disabled or merely unused, the fullest filesystem and interface throughput — all on one screen.

How the data is stored

Raw samples are stored in day-partitioned tables and aggregated at four intervals, so a week-long chart never scans raw rows.

Raw samples expire within the week and are replaced by tiered summaries. A thirty-day chart therefore reads a summary of that period rather than thirty days of raw rows — and because agents replay their own buffers after an outage, a gap closes itself.

One command to install, and it stays on your server

One command to install, and it stays on your server

The host needs only Docker and make; PHP, Composer, Node and Go all run inside containers. make setup generates the secrets, builds the images, installs the dependencies and migrates the database.