{"repo":"jaywink/matrix-alertmanager","free":true,"listed":false,"github":"https://github.com/jaywink/matrix-alertmanager","clone":"git clone https://github.com/jaywink/matrix-alertmanager.git","description":"A bot to receive Alertmanager webhook events and forward them to chosen rooms.","language":"JavaScript","stars":93,"topics":["alertmanager","webhook-receiver","bot","matrix","prometheus","monitoring"],"license":"MIT","category":"analytics","readme_excerpt":"Matrix-Alertmanager A bot to receive Prometheus Alertmanager webhook events and forward them to chosen rooms. Main features: Uses pre-created Matrix user to send alerts using token auth. Configurable room per alert receiver. Automatic joining of configured rooms. Private rooms require an invite. Secret key authentication with Alertmanager. HTML formatted messages. Optionally mentions @room on firing alerts How to use Configuration Whether running manually or via the Docker image, the configuration is set via environment variables. When running manually, copy .env.default into .env , set the values and they will be loaded automatically. When using the Docker image, set the environment variables when running the container. Docker The Docker image jaywink/matrix-alertmanager:latest is the easiest way to get the service running. Ensure you set the required environment variables listed in .env.default in this repository. Alertmanager You will need to configure a webhook receiver in Alertmanager. It should looks something like this: The secret key obviously should match the one in the alertmanager configuration. Alternatively, put the secret in a separate file and use basic auth with username alertmanager : Prometheus rules Add some styling to your prometheus rules NOTE! Currently, the bot cannot talk HTTPS, so you need to have a reverse proxy in place to terminate SSL, or use unsecure unencrypted connections. TODO Registering an account instead of having to use an existing account","default_branch":null,"files":null,"tree":[],"storefront":"/r/jaywink","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jaywink/matrix-alertmanager/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}