Search code examples
prometheusprometheus-alertmanager

Alert manager/prometheus alert to Microsoft teams


I am setting up the monitoring for the Linux server and send alerts to Microsoft teams. I have set up the Prometheus monitoring. Now how do I send alerts to teams? I have installed everything on the centos 7 machines. Can anyone please guide me in this.


Solution

  • You can use prom2teams which is a Python webserver that receives alerts from Prometheus Alertmanager and forwards it to Microsoft Teams.

    You can install it with pip3:

    pip3 install prom2teams