|
11 months ago | |
---|---|---|
cmd/systemd-matrix | 11 months ago | |
etc | 11 months ago | |
pkg | 11 months ago | |
.gitignore | 11 months ago | |
LICENSE | 11 months ago | |
README.md | 11 months ago | |
go.mod | 11 months ago |
This is a Systemd Matrix notifier. It’s based in Telegram Notifier. Basically it sends a Matrix message when a Systemd daemon fails.
/usr/bin/systemd-matrix
etc
directory to your /etc
: cp -R etc /etc
/etc/systemd-matrix/config.json
(see Examples)OnFailed=systemd-matrix@%n
inside the [Unit]
section in the daemon you want to monitorize{
"username": "username",
"password": "P4$$w0rd!",
"matrix_host": "matrix.org",
"matrix_port": 443,
"matrix_room": "!Xhfuiwehfuiwh:matrix.org"
}