What the agent does
Monit's control file
It reads Monit's control file. A statement it does not support yet stops it with an error naming the statement – never ignored silently. What it reads.
The system's figures
Load over 1, 5 and 15 minutes, CPU (user, system, wait), memory and swap – read from the host as Monit reads them.
Reports to FlyingMonit
Status reports and events as Monit sends them, under the name check system gives – FlyingMonit shows it as it shows Monit.
Signed releases
The installer installs a release only when its signature verifies with the agent's key – nothing is unpacked before.
Updates itself
Every minute it looks for a newer release, installs it only when it verifies, and goes back to the version before when the new one does not run.
A service of its own
A systemd service under a user of its own, never as root; its configuration readable by that user only.
Tested against the real thing
Every release is tested against FlyingMonit itself, and its control file and command line against Monit.
Where to start¶
Step by step: the Quick start.
- Check what the agent reads of Monit's control file.
- Install it with the collector of your FlyingMonit – the installer verifies the release before it installs anything.
- From then on it updates itself.