Grafana alerting with ms office teams

I have configured a Grafana setup on my local machine. I also installed Prometheus on the same VM, and set up Node Exporter on a target VM to collect metrics for creating visualizations in Grafana.

Currently, I’m stuck at configuring alerts for the target VMs to monitor CPU and RAM usage. I tried using Prometheus Alertmanager along with a Python script to send alerts to a Microsoft Teams webhook, but the alerts are not reaching Teams.

Does anyone have any ideas on how to resolve this issue? Alternatively, I’d appreciate suggestions for configuring alerting—either using a Python script or any other effective method.

Thanks in advance!

Hi,

Why using python script when Grafana has built-in alerting feature with designated MS Teams contact point?