On Monday, 6 March 2023 at 12:33:21 UTC Kolja Krückmann wrote:

# Alertmanager configuration
alerting:
  alertmanagers:
    - static_configs:
        - targets:
           - 127.0.0.1:9093


The error message that you've shown suggests otherwise:

* It seems Prometheus is actually using "localhost:9093", not 
"127.0.0.1:9093", as the alertmanager target
* "localhost" is being resolved to ::1 (the IPv6 loopback address)
* alertmanager is not accepting connections on IPv6

What flags are you running alertmanager with? If you've 
set --web.listen-address=127.0.0.1:9093 then that would explain it.

You should double-check what actual config file prometheus is running with, 
because I believe it's not actually using 127.0.0.1:9093 to talk to 
alertmanager.  That is: it may be using a different config file than the 
one you're looking at.

-- 
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/4e7bb747-782b-4a39-892a-ac416eb8918fn%40googlegroups.com.

Reply via email to