X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=filesystem%2Fetc%2Fdefault%2Fprometheus-alertmanager;h=b77df7471e5c4df2e210120e5ced4a1e64c2bfef;hb=4b3f043829a57215e1251122a8ab0019b717ca8d;hp=4ff43f2bc7a3a73d3a973d38fd0fcc974dfbb73c;hpb=e958999a4ab6fddd723270b596b4899c0811fa41;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