Setting up Prometheus with existing Alertmanager

44 views
Skip to first unread message

Rui Zhu

unread,
Apr 4, 2024, 2:54:33 AM4/4/24
to Prometheus Users
Dear Prometheus Developers,

I hope this message finds you well. I am currently working on setting up a Prometheus instance in a Kubernetes cluster and I would like to connect it to an existing remote Prometheus Alertmanager. The goal here is to make the remote Alertmanager send slack notifications when alerts fire off on this new Prometheus instance.

I tried these two approaches in my prometheus.yaml file which are passed in using `--values` for `helm install` but both are not working (please see attached files). I'm using prometheus 2.51.0.

Thanks in advance for your help!

Best,

Rui Zhu (he/him)

Performance Software Engineer – MTS 2

rui...@nutanix.com


Screenshot 2024-04-03 at 11.47.59 PM.png
Screenshot 2024-04-03 at 11.48.36 PM.png

Rui Zhu

unread,
Apr 4, 2024, 11:54:36 AM4/4/24
to Prometheus Users
Update:

this config works for me:

server:
alertmanagers:
- scheme: http
static_configs:
- targets:
- "my-existing-alertmanager-url"


Reply all
Reply to author
Forward
0 new messages