mirror of
https://forgejo.altau.su/lego/lego-monitoring.git
synced 2026-03-09 20:31:10 +00:00
No description
Disk health monitoring (wearout and RAID PV fails) See merge request lego/lego-monitoring!6 |
||
|---|---|---|
| .vscode | ||
| alerting | ||
| misc | ||
| tests | ||
| .gitignore | ||
| config.example.json | ||
| lego-monitoring.service | ||
| LICENSE | ||
| prettyprint.py | ||
| README.md | ||
| requirements.txt | ||
| send_ups_alert.py | ||
| service.py | ||
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-auditpip -r requirements.txt
Configuring
- Invite the bot account to the room (you have to accept the invite manually)
- Copy
config.example.jsontoconfig.json, edit as necessary - Run
alerting/login.pyonce to login into Matrix
Running
prettyprint.py-- check and print all sensorsservice.py-- launch servicelego-monitoring.serviceis a systemd unit that startsservice.py