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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.