No description
Find a file
2025-01-07 01:43:39 +03:00
.vscode explicit organize imports 2024-10-27 13:31:52 +03:00
alerting use NestedDeserializableDataclass for config 2025-01-07 01:43:39 +03:00
misc use NestedDeserializableDataclass for config 2025-01-07 01:43:39 +03:00
tests check disk wearout levels 2024-11-09 13:57:32 +03:00
.gitignore alerting framework 2024-06-16 14:43:35 +03:00
config.example.json check disk wearout levels 2024-11-09 13:57:32 +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 docker registry monitoring 2024-10-27 22:29:32 +03:00
requirements.txt use NestedDeserializableDataclass for config 2025-01-07 01:43:39 +03:00
send_ups_alert.py use NestedDeserializableDataclass for config 2025-01-07 01:43:39 +03:00
service.py use NestedDeserializableDataclass for config 2025-01-07 01:43:39 +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

  • Invite the bot account to the room (you have to accept the invite manually)
  • Copy config.example.json to config.json, edit as necessary
  • Run alerting/login.py once to login into Matrix

Running

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