initial commit

This commit is contained in:
2021-04-16 13:36:29 +02:00
commit b607d21b26
5 changed files with 103 additions and 0 deletions

13
README.md Normal file
View File

@@ -0,0 +1,13 @@
# 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.