monitoring: fix prometheus → alertmanager loopback (IPv4 vs IPv6)
Alertmanager binds [::1]:9093 but Prometheus was dialing 127.0.0.1:9093 — connection refused, so alerts fired internally but never reached Alertmanager. Switch the target to [::1]:9093 to match the bind. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
dc7895e3b2
commit
e8158e6c0f
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
alertmanagers = [{
|
alertmanagers = [{
|
||||||
static_configs = [{ targets = [ "127.0.0.1:9093" ]; }];
|
static_configs = [{ targets = [ "[::1]:9093" ]; }];
|
||||||
}];
|
}];
|
||||||
|
|
||||||
alertmanager = {
|
alertmanager = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue