Using alert manager with external receiver

51 views
Skip to first unread message

Nina Sc

unread,
Sep 8, 2020, 3:41:26 AM9/8/20
to Prometheus Users
Hi,

Is there a way to use the alert manager to send an alert to external API,
I mean instead using excage server or slack etc, I will provide an endpoint
like `https://mypullendpoint.host.com` and the alert manager will send the 
alert to this URL ?

Thanks! 
Nina

Wesley Peng

unread,
Sep 8, 2020, 3:54:04 AM9/8/20
to promethe...@googlegroups.com
Hi
Yes you need to define receivers and webhook.

such as:

receivers:
- name: "alerta"
webhook_configs:
- url: 'http://localhost:8080/webhooks/prometheus'
send_resolved: true


please refer these:
https://alerta.io/
https://github.com/alerta/prometheus-config


Regards.

Brian Candler

unread,
Sep 8, 2020, 4:00:03 AM9/8/20
to Prometheus Users
Yes - use the webhook receiver.
Reply all
Reply to author
Forward
0 new messages