This is a Systemd Matrix notifier.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Néfix Estrada ae8598f945 Merge branch 'release/1.0.0' 11 months ago
cmd/systemd-matrix Fixed some isssues 11 months ago
etc Documented a bit the project 11 months ago
pkg Fixed some isssues 11 months ago
.gitignore Initial commit 11 months ago
LICENSE Initial commit 11 months ago
README.md Documented a bit the project 11 months ago
go.mod Added HTML support 11 months ago

README.md

systemd-matrix

This is a Systemd Matrix notifier. It’s based in Telegram Notifier. Basically it sends a Matrix message when a Systemd daemon fails.

How to use it?

  1. Download the binary and move it to /usr/bin/systemd-matrix
  2. Copy the whole etc directory to your /etc: cp -R etc /etc
  3. Create the configuration file at /etc/systemd-matrix/config.json (see Examples)
  4. Add OnFailed=systemd-matrix@%n inside the [Unit] section in the daemon you want to monitorize
  5. Enjoy!

Examples

{
	"username": "username",
	"password": "P4$$w0rd!",
	"matrix_host": "matrix.org",
	"matrix_port": 443,
	"matrix_room": "!Xhfuiwehfuiwh:matrix.org"
}