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
This commit is contained in:
Dominique Roux 2019-01-28 09:32:02 +01:00
parent 5d3598b96e
commit 67c3c8ca12
1 changed files with 1 additions and 1 deletions

View File

@ -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 \