X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=filesystem%2Fetc%2Fdefault%2Fprometheus-alertmanager;h=b77df7471e5c4df2e210120e5ced4a1e64c2bfef;hb=40dd151ec6ba75633c74568da59e35a45351f194;hp=4ff43f2bc7a3a73d3a973d38fd0fcc974dfbb73c;hpb=7e673f2615101982a17ffa0e23cb10b5b3803f07;p=distro-setup diff --git a/filesystem/etc/default/prometheus-alertmanager b/filesystem/etc/default/prometheus-alertmanager index 4ff43f2..b77df74 100644 --- a/filesystem/etc/default/prometheus-alertmanager +++ b/filesystem/etc/default/prometheus-alertmanager @@ -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