I’m running prometheus and friends in docker-compose:
$ sudo docker-compose ps
Name Command State Ports
------------------------------------------------------------------------------------------------------------------
prometheus_alertman_1 /bin/alertmanager -config. ... Up 9093/tcp
prometheus_blackbox_exporter_1 /bin/blackbox_exporter -co ... Up 9115/tcp
prometheus_collectd_exporter_1 /bin/collectd_exporter -co ... Up 0.0.0.0:25826->25826/udp, 9103/tcp
prometheus_grafana_1 /run.sh Up 3000/tcp
prometheus_https-portal_1 /init Up 0.0.0.0:443->443/tcp, 0.0.0.0:80->80/tcp
prometheus_prometheus_1 /bin/prometheus -config.fi ... Up 9090/tcp
I have Alert Manager configured to alert to Slack. However the alert message is hyperlinked to http://f58922cbb637:9093/#/alerts. Instead it should hyperlink to https://something.com. How do I configure that?
Also, I think I read somewhere a hint that Alert Manager has its own UI. Is that where that link is supposed to go? (I guess I would give it its own subdomain.) What exactly does the UI provide? (Are there screenshots anywhere?)
Or is it supposed to link to the Prometheus UI?
Anyone?
--
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-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CANpg8PA96QbtnoazDzTky%3DDQ%3DWaZ_h0zCa6JvHNfASHbHC3i9Q%40mail.gmail.com.
You mean alertman.yml? It’s just this:
route:
receiver: slack-team-ops
receivers:
- name: slack-team-ops
slack_configs:
- send_resolved: true
api_url: "https://hooks.slack.com/services/XXX/YYY/ZZZ"
channel: team-ops
Can you post your alertmanager configuration file?On 5 July 2017 at 23:43, Naftoli Gugenheim <nafto...@gmail.com> wrote:Anyone?
--On Mon, Jul 3, 2017 at 2:30 AM Naftoli Gugenheim <nafto...@gmail.com> wrote:I’m running prometheus and friends in docker-compose:
$ sudo docker-compose ps Name Command State Ports ------------------------------------------------------------------------------------------------------------------ prometheus_alertman_1 /bin/alertmanager -config. ... Up 9093/tcp prometheus_blackbox_exporter_1 /bin/blackbox_exporter -co ... Up 9115/tcp prometheus_collectd_exporter_1 /bin/collectd_exporter -co ... Up 0.0.0.0:25826->25826/udp, 9103/tcp prometheus_grafana_1 /run.sh Up 3000/tcp prometheus_https-portal_1 /init Up 0.0.0.0:443->443/tcp, 0.0.0.0:80->80/tcp prometheus_prometheus_1 /bin/prometheus -config.fi ... Up 9090/tcpI have Alert Manager configured to alert to Slack. However the alert message is hyperlinked to http://f58922cbb637:9093/#/alerts. Instead it should hyperlink to https://something.com. How do I configure that?
Also, I think I read somewhere a hint that Alert Manager has its own UI. Is that where that link is supposed to go? (I guess I would give it its own subdomain.) What exactly does the UI provide? (Are there screenshots anywhere?)
Or is it supposed to link to the Prometheus UI?
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 post to this group, send email to promethe...@googlegroups.com.
On Mon, Jul 03, 2017 at 06:30:06AM +0000, Naftoli Gugenheim wrote:
> I have Alert Manager configured to alert to Slack. However the alert
> message is hyperlinked to http://f58922cbb637:9093/#/alerts. Instead it
> should hyperlink to https://something.com. How do I configure that?
-web.external-url=https://something.com
--
You received this message because you are subscribed to a topic in the Google Groups "Prometheus Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/prometheus-users/r5mWacTtbVU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/20170706044524.opohzolyfuuznq2x%40hezmatt.org.
Thanks.Now I have another issue. In the Alert Manager UI, on an alert, the Source link goes to a similar broken URL: