How to create custom tmpl/template for Alertmanager's webhook

21 views
Skip to first unread message

Abdul Rahuman Seeni Mohamed

unread,
May 11, 2020, 12:01:47 AM5/11/20
to Prometheus Developers
Hi,
Alertmanager provide default alert json for webhook conofiguration. But i need custom json data for webhook, is it possible to create templates file so that webhook will send custom json data instead of default json data.

Julien Pivotto

unread,
May 11, 2020, 12:40:25 AM5/11/20
to Abdul Rahuman Seeni Mohamed, Prometheus Developers
Hello,

This is not possible. You will have to place a webhook receiver to
tranform the json in the format you need.

Regards,

>
> --
> You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-devel...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/40cef497-5ce6-4a08-ba17-c82abfc734ce%40googlegroups.com.


--
Julien Pivotto
@roidelapluie
Reply all
Reply to author
Forward
0 new messages