On Tuesday, 7 March 2023 at 08:48:37 UTC Kolja Krückmann wrote: I just checked and prom is using the correct yml. I just missed that I actually changed the alertmanager to localhost:9093 - thats why my error sais localhost:9093 not 127.0.0.1:9093
Furthermore, I actually don't know why but I just restartet the prom.exe and the alertmanager.exe and its working fine. localhost:9093 and 127.0.0.1:9093 are different The first connects to any address which maps to "localhost" in your hosts file, and this includes ::1 (IPv6) 127.0.0.1 *only* connects to 127.0.0.1 (IPv4) Another question I had was how to configure the webhook to teams correctly. You can't simply point a webhook to Teams. The Alertmanager webhook sends a fixed format JSON payload, which is not in the format that Teams expects (as the error says). You'll need some middleware to convert it into something that Teams will understand, for example: https://github.com/idealista/prom2teams Google for "prometheus alertmanager teams" for more info. -- 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/1bb682e4-d3f8-4fc0-867c-30fa7940db21n%40googlegroups.com.

