alertmanager: flag 'cluster.listen-address' cannot be repeated
Description:
Apr 03 18:09:39 host.example.com alertmanager[595441]: alertmanager: error: flag 'cluster.listen-address' cannot be repeated, try --help
Apr 03 18:09:39 host.example.com systemd[1]: alertmanager.service: Main process exited, code=exited, status=1/FAILURE
Apr 03 18:09:39 host.example.com systemd[1]: alertmanager.service: Failed with result 'exit-code'.
Additional info:
- package version(s): 0.28.1
- config and/or log files:
ALERTMANAGER_ARGS=" --web.listen-address='127.0.0.1:9093' --web.external-url='https://prometheus-global2.observability.example.com' --web.route-prefix='alertmanager/' --data.retention='336h' --cluster.tls-config='/etc/alertmanager/gossip.yml' --cluster.listen-address='100.100.100.1:9094' --cluster.peer='prometheus-global1.observability.example.com:9094' --cluster.label='prom-global' --log.level='debug'" - link to upstream bug report, if any: this is not upstream bug
Steps to reproduce:
- Put config
👆 to env file systemctl start alertmanager