2021-06-02 22:01:24 +00:00
---
alertmanager_version : 0.22 .0
alertmanager_user : "alertmanager_adm"
alertmanager_user_home : "/home/{{ alertmanager_user }}"
alertmanager_group : "{{ alertmanager_user }}"
alertmanager_extra_groups : [ ]
2021-10-03 12:26:21 +00:00
alertmanager_packages :
- tar
2021-06-02 22:01:24 +00:00
alertmanager_base_dir : "/opt/alertmanager"
alertmanager_config_dir : "{{ alertmanager_base_dir }}/conf"
alertmanager_templates_dir : "{{ alertmanager_config_dir }}/templates"
alertmanager_data_dir : "{{ alertmanager_base_dir }}/data"
alertmanager_read_only_dirs : [ ]
alertmanager_web_bind_ip : 127.0 .0 .1
alertmanager_web_bind_port : 61001
alertmanager_web_external_url : "http://localhost:61001/"
2021-06-02 23:07:56 +00:00
alertmanager_cluster_bind_ip : 127.0 .0 .1
alertmanager_cluster_bind_port : 61002
2021-06-02 22:01:24 +00:00
alertmanager_web_tls_enabled : False
alertmanager_web_tls_cert_path : "{{ alertmanager_base_dir }}/tls/certs/mycert.pem"
alertmanager_web_tls_key_path : "{{ alertmanager_base_dir }}/tls/private/mykey.pem"
alertmanager_web_tls_cert_source : mycert.pem
alertmanager_web_tls_key_source : mykey.pem
# @var alertmanager_web_http_server:description: See official [documentation](https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md).
# @var alertmanager_web_http_server: $ "_unset_"
# @var alertmanager_web_basic_auth_users:description: See official [documentation](https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md).
# @var alertmanager_web_basic_auth_users: $ "_unset_"
alertmanager_log_level : error
2021-06-03 10:44:41 +00:00
alertmanager_storage_retention : 120h
2021-06-02 22:01:24 +00:00
alertmanager_template_files :
- alertmanager/templates/*.tmpl
alertmanager_resolve_timeout : 3m
alertmanager_config_flags_extra : [ ]
# @var alertmanager_config_flags_extra:example: >
# alertmanager_config_flags_extra:
# - name: data.retention
# value: 10
# @end
# @var alertmanager_smtp_host:description: Mail server used to send alerts. Need to be defined to enable Mail notifications.
# @var alertmanager_smtp_host: $ "_unset_"
alertmanager_smtp_port : 587
alertmanager_smtp_from : alerts@example.com
alertmanager_smtp_auth_username : mail
alertmanager_smtp_auth_password : secure
alertmanager_smtp_require_tls : "True"
alertmanager_route_group_by :
- alertname
- service
alertmanager_route_group_wait : 30s
alertmanager_route_group_interval : 5m
alertmanager_route_repeat_interval : 3h
# @var alertmanager_route_default_receiver:default: $ "_unset_"
# @var alertmanager_route_default_receiver:example: $ "slack"
alertmanager_route_routes : [ ]
alertmanager_receivers : [ ]
# @var alertmanager_receivers:example: >
# alertmanager_receivers:
# - name: slack
# slack_configs:
# - send_resolved: true
# channel: '#alerts'
# @end
alertmanager_inhibit_rules : [ ]
# @ alertmanager_inhibit_rules:example: >
# alertmanager_inhibit_rules:
# - target_match:
# label: value
# source_match:
# label: value
# equal: ['dc', 'rack']
# - target_match_re:
# label: value1|value2
# source_match_re:
# label: value3|value5
# @end
# @var alertmanager_amtool_config_alertmanager_url:description: Location (URL) of the alertmanager.
alertmanager_amtool_config_alertmanager_url : "{{ alertmanager_web_external_url }}"
# @var alertmanager_amtool_config_output:description: Extended output of `amtool` commands, use '' for less verbosity.
alertmanager_amtool_config_output : "extended"