From 67c3c8ca12987a0a69c94775283b66680d0b26e7 Mon Sep 17 00:00:00 2001 From: Dominique Roux Date: Mon, 28 Jan 2019 09:32:02 +0100 Subject: [PATCH] Added a startup flag for prometheus alertmanager aded the flag --cluster.advertise-address since it is needed for startup on a machine which does not provide a private v4 --- cdist/conf/type/__prometheus_alertmanager/manifest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdist/conf/type/__prometheus_alertmanager/manifest b/cdist/conf/type/__prometheus_alertmanager/manifest index 64ef76af..8ee818c3 100755 --- a/cdist/conf/type/__prometheus_alertmanager/manifest +++ b/cdist/conf/type/__prometheus_alertmanager/manifest @@ -49,7 +49,7 @@ __key_value alertmanager_fix_init_script --file /etc/init.d/prometheus-alertmana ##### CONFIGURE ############################################################# -FLAGS="--storage.path $storage_path --data.retention $((retention_days*24))h --web.listen-address [::]:9093" +FLAGS="--storage.path $storage_path --data.retention $((retention_days*24))h --web.listen-address [::]:9093 --cluster.advertise-address [::]:9093" require="$require $require_pkg" \ __key_value alertmanager_args --file /etc/default/prometheus-alertmanager \