13.109. cdist-type__prometheus_alertmanager(7)

13.109.1. NAME

cdist-type__prometheus_alertmanager - install Alertmanager

13.109.2. DESCRIPTION

Install and configure Prometheus Alertmanager (https://prometheus.io/docs/alerting/alertmanager/).

13.109.3. REQUIRED PARAMETERS

config
Alertmanager configuration file. It will be saved as /etc/alertmanager/alertmanager.yml on the target.
listen-address
Passed as web.listen-address.

13.109.4. OPTIONAL PARAMETERS

storage-path
Where to put data. Default: /data/alertmanager. (Directory will be created if needed.)

13.109.5. BOOLEAN PARAMETERS

with-daemontools
Create a daemontools service directory under /service/prometheus. Default: yes. Note: If you do not use this, Alertmanager will not be launched, and will not reload config on change. If you use this, daemontools (or something compatible) must be installed.

13.109.6. EXAMPLES

ALERTPORT=9093

__daemontools
__golang_from_vendor --version 1.8.1  # required for prometheus and many exporters

require="__daemontools __golang_from_vendor" __prometheus_alertmanager \
  --config "$__manifest/files/alertmanager.yml" \
  --storage-path /data/alertmanager \
  --listen-address "[::]:$ALERTPORT"

13.109.7. SEE ALSO

cdist-type__prometheus_server(7), cdist-type__daemontools(7), Prometheus alerting documentation: https://prometheus.io/docs/alerting/overview/

13.109.8. AUTHORS

Kamila Součková <kamila--@--ksp.sk>

13.109.9. COPYING

Copyright (C) 2017 Kamila Součková. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.