idealista / prom2teams

prom2teams is an HTTP server built with Python that receives alert notifications from a previously configured Prometheus Alertmanager instance and forwards it to Microsoft Teams using defined connectors
Apache License 2.0
268 stars 84 forks source link

[SUPPORT] DeadMansSwitch Alert > Teams #335

Closed Fran-78 closed 1 year ago

Fran-78 commented 1 year ago

Hi,

Can prom2teams handle a DeadMansSwitch Alert?

Id like to use prom2teams to send an Alert to Teams Webhook, when it stops receiving lets say the "vector" metric as per the DeadMansSwitch Alert in Prometheus:

name: DeadMansSwitch expr: vector(1) annotations: cluster: clustername message: This is a DeadMansSwitch meant to ensure that the entire Alerting pipeline is functional.

If so, could someone perhaps share an example.

Thanks