Telegram bot that monitors host system state and notifies subscribers when certain readings (eg. cpu load/temperature) exceed configured thresholds
Prerequisites: (1) docker, (2) git, (3) unix shell (e.g. bash).
git clone https://github.com/art-in/sysmon_bot
cd sysmon_bot
./docker/scripts/build.sh # build inside container
./docker/scripts/run.sh # run inside container
Prerequisites: (1) docker.
# download image from docker hub and run it (set params first)
docker run -di \
--name sysmon_bot \
--restart unless-stopped \
--mount type=bind,src=<host_dir>/config.toml,dst=/opt/project/config.toml \
--mount type=bind,src=<host_dir>/,dst=/opt/project/db/ \
--pid="host" \
artinphares/sysmon_bot