Hi,

we are monitoring a bunch of hosts with Prometheus, forwarding the alerts 
to the alertmanager and from there to one Email receiver.

We are currently evaluating the possibility to forward the Emails, 
generated by the AlertManager, to different Email addresses, depending on 
the host impacted by the alert. We don't want however to keep the mapping 
"host <-> Email address" hardcoded in the alertmanager config. This 
information can be retrieved via a REST call.

I am wondering if there is a possibility for the alertmanager to make 
external http calls,  before triggering an alert, and use the returned 
information (Email address) as a destination of the Emails. Another option 
would be to include the information retrieved in the message sent to a 
webhook receiver.

Does someone know if such a use case can be implemented using 
Prometheus/Alertmanager? Any ideas are welcome.

Regards
Farouk

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/3f3510a4-f28c-4416-b69f-d361598e5b47n%40googlegroups.com.

Reply via email to