Get rid of the /alertmanager in the proxypass statements and you should be good.

Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: [email protected] <[email protected]> on 
behalf of [email protected] <[email protected]>
Sent: Saturday, October 22, 2022 8:46:12 AM
To: Prometheus Users <[email protected]>
Subject: [prometheus-users] Prometheus and Alertmanager behind Apache Proxy

Hi, I have Prometheus and Alertmanager running behind an Apache Proxy.

My problem is that i cannot make Alertmanager accessible through
"https://my.url.com/alertmanager";
With my current config i only get an 404 for that site.

I start Alertmanager with following flags:

ExecStart=/etc/alertmanager/alertmanager 
--config.file=/etc/alertmanager/alertmanager.yml 
--storage.path=/etc/alertmanager/data --cluster.listen-address= 
--web.config.file=/etc/prometheus/web.yml 
--web.external-url=https://my.url.com/alertmanager 
--web.route-prefix=/alertmanager

and my Proxy looks like this:
<VirtualHost *:443>
...
ProxyPass           / http://localhost:9090/
ProxyPassReverse    / http://localhost:9090/
ProxyPass           /alertmanager http://localhost:9093/alertmanager/
ProxyPassReverse    /alertmanager http://localhost:9093/alertmanager/
</VirtualHost>

please send some help!!!

--
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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/98a2def6-78ee-41b4-a192-10ba117888bcn%40googlegroups.com<https://groups.google.com/d/msgid/prometheus-users/98a2def6-78ee-41b4-a192-10ba117888bcn%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/DM5PR07MB41331F2AC9EC169C30259567F12C9%40DM5PR07MB4133.namprd07.prod.outlook.com.

Reply via email to