fixes, prometheus, lots of stuff
[distro-setup] / filesystem / etc / default / prometheus-alertmanager
index 4ff43f2bc7a3a73d3a973d38fd0fcc974dfbb73c..b77df7471e5c4df2e210120e5ced4a1e64c2bfef 100644 (file)
@@ -2,8 +2,16 @@
 # default:
 #ARGS=""
 
-# iank:
-ARGS="--web.listen-address=127.0.0.1:9093"
+# from its README: If running Alertmanager in high availability mode is not
+#  desired, setting --cluster.listen-address= prevents Alertmanager from
+#  listening to incoming peer requests.
+# Why the fuck is that in the readme, not the docs below?
+# If you don't add that, it will fail to start on boot because
+# it doesn't wait for network.target, and gives this error message:
+#  component=cluster err="couldn't deduce an advertise address: no private IP found, explicit advertise addr not provided"
+
+
+ARGS="--cluster.listen-address= --web.listen-address=127.0.0.1:9093"
 
 # this file is from version 0.21