Galaxy
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

alertmanager

Source Code Build Status License: MIT

Setup Prometheus Alertmanager service.


Default Variables

alertmanager_amtool_config_alertmanager_url

Location (URL) of the alertmanager.

Default value

alertmanager_amtool_config_alertmanager_url: '{{ alertmanager_web_external_url }}'

alertmanager_amtool_config_output

Extended output of amtool commands, use ’’ for less verbosity.

Default value

alertmanager_amtool_config_output: extended

alertmanager_base_dir

Default value

alertmanager_base_dir: /opt/alertmanager

alertmanager_cluster_bind_ip

Default value

alertmanager_cluster_bind_ip: 127.0.0.1

alertmanager_cluster_bind_port

Default value

alertmanager_cluster_bind_port: 61002

alertmanager_config_dir

Default value

alertmanager_config_dir: '{{ alertmanager_base_dir }}/conf'

alertmanager_config_flags_extra

Default value

alertmanager_config_flags_extra: []

Example usage

alertmanager_config_flags_extra:
  - name: data.retention
    value: 10

alertmanager_data_dir

Default value

alertmanager_data_dir: '{{ alertmanager_base_dir }}/data'

alertmanager_extra_groups

Default value

alertmanager_extra_groups: []

alertmanager_group

Default value

alertmanager_group: '{{ alertmanager_user }}'

alertmanager_inhibit_rules

Default value

alertmanager_inhibit_rules: []

alertmanager_log_level

Default value

alertmanager_log_level: error

alertmanager_packages

Default value

alertmanager_packages:
  - tar

alertmanager_read_only_dirs

Default value

alertmanager_read_only_dirs: []

alertmanager_receivers

Default value

alertmanager_receivers: []

Example usage

alertmanager_receivers:
  - name: slack
    slack_configs:
      - send_resolved: true
        channel: '#alerts'

alertmanager_resolve_timeout

Default value

alertmanager_resolve_timeout: 3m

alertmanager_route_default_receiver

Example usage

alertmanager_route_default_receiver: slack

alertmanager_route_group_by

Default value

alertmanager_route_group_by:
  - alertname
  - service

alertmanager_route_group_interval

Default value

alertmanager_route_group_interval: 5m

alertmanager_route_group_wait

Default value

alertmanager_route_group_wait: 30s

alertmanager_route_repeat_interval

Default value

alertmanager_route_repeat_interval: 3h

alertmanager_route_routes

Default value

alertmanager_route_routes: []

alertmanager_smtp_auth_password

Default value

alertmanager_smtp_auth_password: secure

alertmanager_smtp_auth_username

Default value

alertmanager_smtp_auth_username: mail

alertmanager_smtp_from

Default value

alertmanager_smtp_from: alerts@example.com

alertmanager_smtp_host

Mail server used to send alerts. Need to be defined to enable Mail notifications.

Default value

alertmanager_smtp_host: _unset_

alertmanager_smtp_port

Default value

alertmanager_smtp_port: 587

alertmanager_smtp_require_tls

Default value

alertmanager_smtp_require_tls: 'True'

alertmanager_storage_retention

Default value

alertmanager_storage_retention: 120h

alertmanager_template_files

Default value

alertmanager_template_files:
  - alertmanager/templates/*.tmpl

alertmanager_templates_dir

Default value

alertmanager_templates_dir: '{{ alertmanager_config_dir }}/templates'

alertmanager_user

Default value

alertmanager_user: alertmanager_adm

alertmanager_user_home

Default value

alertmanager_user_home: /home/{{ alertmanager_user }}

alertmanager_version

Default value

alertmanager_version: 0.22.0

alertmanager_web_basic_auth_users

See official documentation.

Default value

alertmanager_web_basic_auth_users: _unset_

alertmanager_web_bind_ip

Default value

alertmanager_web_bind_ip: 127.0.0.1

alertmanager_web_bind_port

Default value

alertmanager_web_bind_port: 61001

alertmanager_web_external_url

Default value

alertmanager_web_external_url: http://localhost:61001/

alertmanager_web_http_server

See official documentation.

Default value

alertmanager_web_http_server: _unset_

alertmanager_web_tls_cert_path

Default value

alertmanager_web_tls_cert_path: '{{ alertmanager_base_dir }}/tls/certs/mycert.pem'

alertmanager_web_tls_cert_source

Default value

alertmanager_web_tls_cert_source: mycert.pem

alertmanager_web_tls_enabled

Default value

alertmanager_web_tls_enabled: false

alertmanager_web_tls_key_path

Default value

alertmanager_web_tls_key_path: '{{ alertmanager_base_dir }}/tls/private/mykey.pem'

alertmanager_web_tls_key_source

Default value

alertmanager_web_tls_key_source: mykey.pem

Discovered Tags

tls_renewal
 

Dependencies

None.