Alerts
A host checks its alert rules every 15 seconds against the latest values from every machine. An alert shows as a banner on the Fleet page, as an event, and as a notification from the desktop app.
Out of the box
Section titled “Out of the box”- Disk usage over 90% for 10 minutes
- Memory over 95% for 10 minutes
- A machine offline for 10 minutes
CPU isn’t on the list: a build server at 100% for hours is working, not failing.
Red values need no rule. Anything the dashboard shows red is an alert at the next check. It stays until the value has been clear for an hour, so a value flickering in and out of red makes one alert, with a count, rather than a stream of them.
Your own rules
Section titled “Your own rules”In Settings → Alerts, or from the command line on a host:
mm-core alerts # the rules, numbered, and what's firingmm-core alerts add cpu.usage --above 90 --for 15 # CPU over 90% for 15 minutesmm-core alerts add offline --for 5 --machine nas --severity criticalmm-core alerts remove 2A rule is a metric above or below a number for 1 to 1440 minutes, or offline; on every machine or the
ones you list; at warning, error or critical. Each disk and each sensor is its own alert.
Common metric IDs:
| Metric | What |
|---|---|
cpu.usage |
CPU in use, % |
mem.usage |
Memory in use, % |
swap.usage |
Swap in use, % |
disk.usage |
Each disk’s space used, % |
thermal.temp |
Each temperature sensor, °C |
system.load |
Load average |
exec.<script>.<id> |
One of your own metrics |
Rules are kept in the host’s config.toml as alerts. Nothing is sent to the other machines.
A disk that’s meant to be full
Section titled “A disk that’s meant to be full”A backup disk at 95% isn’t a problem. Tick it under Settings → This machine → Disks on the machine it’s plugged into, and it’s no longer reported: no graphs, no alerts.