How Alertmanager can receive alerts from source other than prometheus server?

24 views
Skip to first unread message

Adarsh Kumar Pandey

unread,
Apr 12, 2020, 2:32:45 AM4/12/20
to Prometheus Users
Hi all,
I just wanted to know that is it possible to get alerts generated from sources other than Prometheus alerting rules ? can you please point me to the documentation of that.
Thanks and Regards
Adarsh

Christian Hoffmann

unread,
Apr 12, 2020, 2:54:57 AM4/12/20
to Adarsh Kumar Pandey, Prometheus Users
Hi,

On 4/12/20 8:32 AM, Adarsh Kumar Pandey wrote:
> I just wanted to know that is it possible to get alerts generated from
> sources other than Prometheus alerting rules ? can you please point me
> to the documentation of that.

In general, this is possible, yes, see here:
https://prometheus.io/docs/alerting/clients/

However, you would have to mimic the semantics of this API pretty
closely (especially continuous resending of alerts).


Kind regards,
Christian

Adarsh Kumar Pandey

unread,
Apr 12, 2020, 3:14:07 AM4/12/20
to Prometheus Users
Hie Christian,
great to hear from you ..thanks for the response .
I had one more question..I read the alertmanager client doc and I get it that we need to send alerts in a predefined json format  but at what URL I need to do a POST request.. I hope I did not say something silly ..I'm kinda new to Prometheus..
Thanks..

Adarsh Kumar Pandey

unread,
Apr 12, 2020, 3:18:43 AM4/12/20
to Prometheus Users
I read similar related questions and I think I found the answer to my question here:
Thanks for the response though .. I really appreciate you taking the time to help us out
Regards,
Adarsh
Reply all
Reply to author
Forward
0 new messages