fleetdfleetd
Guide
Design
  • English
  • 简体中文
GitHub
Guide
Design
  • English
  • 简体中文
GitHub
  • Introduction
  • Quick start
  • Server setup
  • Adding machines
  • Commands and terminal
  • Agent updates
  • Alerts
  • Configuration
  • Troubleshooting

Alerts

The server checks every machine every 5 seconds. An alert opens when a problem appears and closes by itself when it goes away. Both are shown under Alerts and, if SMTP is configured, sent by e-mail. Changes found in one check are combined into a single e-mail.

What is checked

AlertFires whenSetting
OfflineNo report for longer than the thresholdoffline (40s)
CPUAbove the threshold for the whole sustain periodcpu_percent (90), sustain (5m)
MemoryAbove the threshold for the whole sustain periodmem_percent (90), sustain (5m)
DiskA mount point is fuller than the thresholddisk_percent (90)
InodesA mount point uses more inodes than the thresholdinode_percent (90)
ServiceA systemd unit is in the failed state—
ContainerA Docker container is unhealthy, restarting, or exited with an error—
WireGuardA peer that has connected before has not completed a handshake for longer than the thresholdwg_handshake (5m, 0 disables)
IP changeA machine connects from a different address (a one-off notice)—

Thresholds are set under alerts: in the server config; see Configuration.

Machines that have been approved but have never reported are not counted as offline, and right after the server starts nobody is reported offline until agents had time to reconnect.

E-mail

smtp:
  host: smtp.example.com
  port: 465            # 465 = TLS, 587 = STARTTLS
  username: alerts@example.com
  password: change-me
  from: alerts@example.com
  to: [you@example.com]

Without smtp.host, alerts are only shown in the admin page and written to the server log.

Language

Alert texts and e-mails are in English by default. Set language: zh in the server config for Chinese. The admin page's own language is chosen per browser.

History

Resolved alerts are kept for 90 days. Metrics are kept for 7 days.

Edit this page on GitHub
Last Updated: 11/3/26, 11:50 AM
Contributors: weiyi
Prev
Agent updates
Next
Configuration