2020-12-07 11:20:33 +00:00
|
|
|
---
|
2020-12-07 12:11:09 +00:00
|
|
|
alertmanager_service_name: 'alertmanager'
|
|
|
|
alertmanager_service_path: '/docker/{{ alertmanager_service_name }}'
|
|
|
|
alertmanager_compose_file: '{{ alertmanager_service_path }}/docker-compose.yml'
|
|
|
|
|
|
|
|
# Public Domain
|
|
|
|
alertmanager_domain: ~
|
|
|
|
alertmanager_url: 'https://{{ alertmanager_domain | mandatory }}/'
|
|
|
|
alertmanager_admin_email: ~
|
|
|
|
|
|
|
|
# Container
|
2023-05-12 12:21:35 +00:00
|
|
|
alertmanager_cont_tag: 'v0.25.0'
|
2021-05-06 15:32:15 +00:00
|
|
|
alertmanager_cont_image: 'prom/alertmanager:{{ alertmanager_cont_tag }}'
|
2020-12-07 12:11:09 +00:00
|
|
|
alertmanager_cont_log_lvl: 'info'
|
2022-10-26 01:46:52 +00:00
|
|
|
alertmanager_cont_log_fmt: 'json'
|
2020-12-07 11:20:33 +00:00
|
|
|
|
2020-12-07 12:11:09 +00:00
|
|
|
# Port used for the web ui
|
2020-12-07 11:20:33 +00:00
|
|
|
alertmanager_webui_port: 9093
|
2020-12-07 12:11:09 +00:00
|
|
|
# Port used for clustering AlertManager peers
|
2020-12-07 11:20:33 +00:00
|
|
|
alertmanager_cluster_port: 9094
|
2020-12-10 10:07:05 +00:00
|
|
|
# Time to wait for ack before marking node unhealthy
|
|
|
|
alertmanager_probe_timeout: '1000ms'
|
|
|
|
# Interval between random node probes
|
|
|
|
alertmanager_probe_interval: '5s'
|
2020-12-07 11:20:33 +00:00
|
|
|
|
2020-12-07 12:11:09 +00:00
|
|
|
# SMTP
|
2023-05-12 13:11:48 +00:00
|
|
|
#alertmanager_smtp_host: ~
|
|
|
|
#alertmanager_smtp_port: ~
|
|
|
|
#alertmanager_smtp_from: ~
|
|
|
|
#alertmanager_smtp_user: ~
|
|
|
|
#alertmanager_smtp_pass: ~
|
2024-03-26 17:27:03 +00:00
|
|
|
alertmanager_receivers_extra: []
|
2023-05-12 13:11:48 +00:00
|
|
|
# - name: 'devops'
|
2024-03-26 17:27:03 +00:00
|
|
|
# routes:
|
|
|
|
# continue: true
|
|
|
|
# receivers:
|
|
|
|
# email_configs:
|
|
|
|
# - to: 'devops@example.org'
|
|
|
|
# send_resolved: true
|
2020-12-07 11:20:33 +00:00
|
|
|
|
2020-12-07 13:39:30 +00:00
|
|
|
# OAuth
|
2023-09-26 06:58:24 +00:00
|
|
|
alertmanager_oauth_compose_file: '{{ alertmanager_service_path }}/docker-compose.oauth.yml'
|
2020-12-07 13:39:30 +00:00
|
|
|
alertmanager_oauth_cont_port: 8092
|
2023-09-26 06:58:24 +00:00
|
|
|
#alertmanager_oauth_id: ~
|
|
|
|
#alertmanager_oauth_secret: ~
|
|
|
|
#alertmanager_oauth_cookie_secret: ~
|
|
|
|
#alertmanager_oauth_gh_org: ~
|
|
|
|
alertmanager_oauth_gh_teams: []
|
2020-12-07 13:39:30 +00:00
|
|
|
|
2020-12-07 11:43:15 +00:00
|
|
|
# Route configuration
|
2022-03-29 16:53:04 +00:00
|
|
|
alertmanager_group_by: ['alertname', 'fleet']
|
2020-12-07 11:43:15 +00:00
|
|
|
alertmanager_group_wait: '30s'
|
|
|
|
alertmanager_group_interval: '3m'
|
|
|
|
alertmanager_repeat_interval: '1h'
|
|
|
|
|
2020-12-07 11:20:33 +00:00
|
|
|
# VictorOps paging service
|
2023-05-12 13:11:48 +00:00
|
|
|
alertmanager_victorops_enabled: false
|
|
|
|
#alertmanager_victorops_api_key: ~
|
|
|
|
#alertmanager_victorops_service_url: ~
|
|
|
|
#alertmanager_victorops_routing_key: ~
|
2020-12-07 14:02:14 +00:00
|
|
|
alertmanager_victorops_message_type: 'CRITICAL' # CRITICAL, WARNING, INFO
|
2022-03-29 16:53:15 +00:00
|
|
|
alertmanager_victorops_monitoring_tool: 'metrics'
|
|
|
|
alertmanager_victorops_state_message: |
|
|
|
|
{% raw %}
|
|
|
|
{{ .CommonLabels.alertname }}:
|
|
|
|
{{ .CommonAnnotations.summary }}.
|
|
|
|
Common: {{ .CommonLabels }}
|
|
|
|
Group: {{ .GroupLabels }}
|
|
|
|
{% endraw %}
|
|
|
|
|
|
|
|
alertmanager_victorops_display_name: >-
|
|
|
|
{% raw %}
|
|
|
|
{{ .CommonLabels.datacenter }}.{{ .GroupLabels.fleet }}
|
|
|
|
({{ .GroupLabels.alertname }})
|
|
|
|
{% endraw %}
|
2020-12-07 11:20:33 +00:00
|
|
|
|
|
|
|
# For discovery of prometheus master nodes
|
|
|
|
consul_catalog_url: 'http://localhost:8500/v1/catalog'
|
|
|
|
|
|
|
|
# Generic container options
|
2020-12-07 12:11:09 +00:00
|
|
|
compose_recreate: 'smart'
|
|
|
|
compose_state: 'present'
|
|
|
|
compose_restart: false
|