Files
grafana-matrix-alert/README.md
2021-04-16 13:36:29 +02:00

14 lines
495 B
Markdown

# Grafana-matrix-alert
This is a small container to send alerts from grafana to a matrix room.
Preconditions: in matrix, a user must exist for grafana to use. That user must be a member of the "alert room".
Set the following environment variables when running the container:
MATRIX_HOMESERVER_URL
MATRIX_USER
MATRIX_PASSWORD
MATRIX_ROOM_ID (the internal room ID)
In Grafana, configure a notification channel of type "webhook" and set the URL to the host/port where the container is running.