No description
Find a file
2024-07-27 19:16:40 +03:00
.vscode workspace settings 2024-06-16 16:18:54 +03:00
alerting ram and cpu monitoring 2024-07-27 18:10:40 +03:00
misc RAM percentage recording. removed unnecessary sensors 2024-07-27 19:16:40 +03:00
.gitignore alerting framework 2024-06-16 14:43:35 +03:00
lego-monitoring.service service unit 2024-06-16 16:37:37 +03:00
prettyprint.py RAM percentage recording. removed unnecessary sensors 2024-07-27 19:16:40 +03:00
README.md service unit 2024-06-16 16:37:37 +03:00
requirements.txt alerting framework 2024-06-16 14:43:35 +03:00
service.py ram and cpu monitoring 2024-07-27 18:10:40 +03:00

lego-monitoring

Prerequisites

  • pacman -S libolm
  • pip -r requirements.txt

Configuring

  • Run alerting/login.py once to generate credentials file
  • Invite the bot account to the room (you have to accept the invite manually)
  • Set room ID in alerting/common.py

Running

  • prettyprint.py -- check and print all sensors
  • service.py -- launch service
  • lego-monitoring.service is a systemd unit that starts service.py