No description
Find a file
2024-10-27 14:47:02 +03:00
.vscode explicit organize imports 2024-10-27 13:31:52 +03:00
alerting creds file -> config file 2024-10-27 14:47:02 +03:00
misc creds file -> config file 2024-10-27 14:47:02 +03:00
tests vuln alerts from arch-audit 2024-08-11 13:20:55 +03:00
.gitignore alerting framework 2024-06-16 14:43:35 +03:00
lego-monitoring.service wait for 5 sec between restarts 2024-09-01 13:55:07 +03:00
LICENSE Add LICENSE 2024-10-14 10:01:09 +00:00
prettyprint.py unused imports removal 2024-07-27 19:20:40 +03:00
README.md add lego disclaimer, just in case 2024-10-20 13:31:53 +00:00
requirements.txt alerting framework 2024-06-16 14:43:35 +03:00
send_ups_alert.py add comments for event types 2024-09-01 15:04:35 +03:00
service.py creds file -> config file 2024-10-27 14:47:02 +03:00

lego-monitoring

DISCLAIMER: This repository does not have anything to do with the LEGO Group. "lego" is the internal name of my home server.

Prerequisites

  • pacman -S libolm arch-audit
  • 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