Hello all,
I have packaged and pushed to Chum Monit, a system monitoring and configuration tool.
You can use it to monitor certain properties of your system, remote systems, programs, processes and much more.
See Monit Presentation for an introduction, and M/Monit | Wiki for details on what it can do.
Contrary to most tools in the class monitoring its purpose is not so much drawing pretty graphs of historical data.
It is more about reporting and reacting to changes in the system state, send alerts, execute scripts on failure and so on.
Configuration on Sailfish OS
The package comes with a configuration structure at /etc/monit.d/
. Any file ending in *.conf
will be picked up by the monitoring daemon. Please use that directory to place your custom configurations.
There is also an extra package called monit-contrib
, which ships a couple of example config snippets you can try out. This package will create dirs at /etc/monit.d/available
and /etc/monit.d/scripts
.
To enable any of the shipped configuration snippets, make a symlink from /etc/monit.d/available/foo.conf
to /etc/monit.d/foo.conf
.
Contributing
The monit-contrib
is intended to be expanded by YOU, the hackers, devs and power users with your configurations and additions.
So if you decide to play around with monit
, and write some useful configurations, please submit them at GitHub - nephros/monit: monit and I will include them in the next iteration of the -contrib
package.
Of course you can also publish RPM files to place files in there (or use Patchmanager, although thatâs kind of abusing it).
Using
Start/Stop the daemon using systemctl [start|stop] monit.service
. This runs as root.
(You can also let monit run as a regular user, but youâll have to set that up yourself using the official docs, and creating a config at ~/.monitrc
.)
Note there is a startup delay configured, you will have to wait for some minutes until the interface comes up.
Web interface
The daemon has a web interface at http://localhost:2812
so you can monitor your monitoring and interact with the different monitoring targets.
CLI
When you call monit
on the command line it acts as an interface to a running deamon. Look at monit --help
and devel-su monit status
for some output.
For your convenience, a bash-completion file is available at /etc/bash_completion.d/monit
Sailfish OS GUI App
I have also started to work on a GUI app. Itâs in alpha stage at the moment, but you can find it here, and it will be released to chum âwhen itâs readyâ.
Links
- Packages: Best installed through Chum GUI. The Chum OBS project is here for main and here for testing.
- Packaging Repo GitHub - nephros/monit: monit
- -contrib branch GitHub - nephros/monit at contrib
- Upstream Repo Bitbucket
- Upstream HowTo M/Monit | Wiki
- Upstream Documentation M/Monit | Wiki