@cryptotaxi247 / infra-1 / commits / bc4149bc

eris: break accidental dependency between alertmanager and wireguard

In its default configuration, alertmanager requires an RFC1918 IP address to be present on the machine in order to do automatic clustering. We don't use this feature, and it breaks alertmanager when wireguard is not configured on the machine. Disable it.

Pierre Bourdon committed Jan 6, 2024 at 13:44 UTC bc4149bc5d622d0ac0d9e67ffd7f0550e6dfb077
1 file changed +5
delft/eris.nix
+5
@@ -126,6 +126,11 @@ in
126
127 alertmanager = {
128 enable = true;
129 +
130 + # Allow alertmanager to start even if it doesn't find an RFC1918 IP on
131 + # the machine's network interfaces.
132 + extraFlags = [ "--cluster.listen-address=''" ];
133 +
134 webExternalUrl = "http://10.254.1.4:9093/";
135 configuration = {
136 global = { };