mirror of
https://forgejo.altau.su/lego/lego-monitoring.git
synced 2026-03-10 04:41:10 +00:00
20 lines
602 B
Markdown
20 lines
602 B
Markdown
# 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`
|