Service for managing and receiving Alertmanager alerts
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.

705 B

alertmanager-matrix

Service for sending alerts from the Alertmanager webhook to a Matrix room.

Usage

The service is configured either through command line arguments or environment variables. With the provided systemd service file (alertmanager-matrix.service), the configuration is done in /etc/default/alertmanager-matrix as follows:

HOMESERVER=http://localhost:8008
USER_ID=@bot:example.com
TOKEN=<token>

Configure Alertmanager with a webhook to this service:

receivers:
- name: mail
  email_configs:
  - to: root+alerts@slxh.eu
- name: matrix
  webhook_configs:
  - url: "http://localhost:4051/<room_id>"

The service will not automatically join configured rooms.