Monitoring & Health#
Fleet-Wide Watchdog (meshctl watch)#
meshctl watch evaluates one or more nodes over local paths or SSH without exposing any remote HTTP/TCP management port:
meshctl watch --json \
root@node-fra.example.org:/var/lib/fleetmesh \
root@node-sgp.example.org:/var/lib/fleetmesh
Exit codes integrate directly with systemd timers, cron, and alerting:
Exit code |
Meaning |
|---|---|
|
All nodes healthy ( |
|
One or more nodes reported an operational fault |
|
One or more nodes could not be reached |
Distinguishing wrong from note in JSON output:
wrong(actionable fault): Broken receipt chains, compartment faults, exhausted budgets, or a protocol digest mismatch between nodes. Investigate immediately.note(informational): Expected mesh telemetry such as peer throttling or directional strain (for example, when most traffic arrives from a single relay). Notes do not cause a non-zero exit code.
Check that every node in the fleet reports the same digest (from schema/DIGEST). See Fleet Monitoring and Supervision for systemd timer units (meshwatch.service / meshwatch.timer) and optional CI/spec correlation variables (FLEETMESH_CI, FLEETMESH_SITE).
Deep Local Diagnostics (meshnode health and Peers)#
For a full error-plane report directly on a node host:
sudo -u meshnode /opt/fleetmesh/.venv/bin/meshnode health /var/lib/fleetmesh
A healthy node shows all configured relays up, handler failures 0, tick failures 0, and concludes with no trouble reported.
Useful follow-up inspection commands:
Command |
Shows |
|---|---|
|
Last tick summary and active trouble |
|
Peer tiers, grants, last window, standing |
|
Bilateral grants and pending boundary changes |
|
Local ceiling, pressure, and active shedding |
|
Directional strain and reserves |
|
Every compartment and its refusal counts |
|
Recent refusals across compartments |
|
Live stream of internal bus events |
If you also run a dedicated strfry relay behind Caddy, verify both services stay active (systemctl is-active strfry caddy).