Converts alerts sent by prometheus to text message and send them to a telegram
Example message:
{config.MESSAGE_PREFIX} firing: <alert 1 summary>, <alert 2 summary>
firing(link to alert): <alert 1 description>
firing(link to alert): <alert 2 description>
virtualenv pyvenv
git clone xxx
cd xxx
pip install .
pyvenv/bin/prombot
Configure config.py, especially the telegram bot part
docker build -t prombot .
Create a local copy and configure config.py (i.e. in /home/docker/config.py), especially the telegram bot part.
docker pull vche/prombot
docker run -p 9087:9087 -v /home/docker/config.py:/prombot/config.py prombot
prombot:
container_name: prombot
image: vche/prombot
ports:
- 9087:9087
volumes:
- /home/docker/config.py:/prombot/config.py