Send Alertmanager notifications to an PHP api

13 views
Skip to first unread message

Rahul Hada

unread,
Mar 19, 2020, 5:43:29 AM3/19/20
to Prometheus Users
Hi, We have prometheus and alertmanager setup, sending alert notifications to email and slack webhook. We have been provided with one php api like " http://xxxxxxxx.com/prometheus_api.php. Please provide the way to expose alert notifications to this api in the format just like we are able to send to slack and email.

Thanks in Advance

Simon Pasquier

unread,
Mar 19, 2020, 10:21:24 AM3/19/20
to Rahul Hada, Prometheus Users
The notifications sent by Alertmanager via the webhook receiver are
defined here:
https://prometheus.io/docs/alerting/configuration/#webhook_config

On Thu, Mar 19, 2020 at 10:43 AM Rahul Hada <rh....@gmail.com> wrote:
>
> Hi, We have prometheus and alertmanager setup, sending alert notifications to email and slack webhook. We have been provided with one php api like " http://xxxxxxxx.com/prometheus_api.php. Please provide the way to expose alert notifications to this api in the format just like we are able to send to slack and email.
>
> Thanks in Advance
>
> --
> You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/1d8bdce0-6615-4c62-bc9f-374365e6a128%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages