84 lines
2.4 KiB
YAML
84 lines
2.4 KiB
YAML
---
|
|
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
|
|
alertmanager_cont_tag: 'v0.25.0'
|
|
alertmanager_cont_image: 'prom/alertmanager:{{ alertmanager_cont_tag }}'
|
|
alertmanager_cont_log_lvl: 'info'
|
|
alertmanager_cont_log_fmt: 'json'
|
|
|
|
# Port used for the web ui
|
|
alertmanager_webui_port: 9093
|
|
# Port used for clustering AlertManager peers
|
|
alertmanager_cluster_port: 9094
|
|
# Time to wait for ack before marking node unhealthy
|
|
alertmanager_probe_timeout: '1000ms'
|
|
# Interval between random node probes
|
|
alertmanager_probe_interval: '5s'
|
|
|
|
# SMTP
|
|
#alertmanager_smtp_host: ~
|
|
#alertmanager_smtp_port: ~
|
|
#alertmanager_smtp_from: ~
|
|
#alertmanager_smtp_user: ~
|
|
#alertmanager_smtp_pass: ~
|
|
alertmanager_receivers_extra: []
|
|
# - name: 'devops'
|
|
# routes:
|
|
# continue: true
|
|
# receivers:
|
|
# email_configs:
|
|
# - to: 'devops@example.org'
|
|
# send_resolved: true
|
|
|
|
# OAuth
|
|
alertmanager_oauth_compose_file: '{{ alertmanager_service_path }}/docker-compose.oauth.yml'
|
|
alertmanager_oauth_cont_port: 8092
|
|
#alertmanager_oauth_id: ~
|
|
#alertmanager_oauth_secret: ~
|
|
#alertmanager_oauth_cookie_secret: ~
|
|
#alertmanager_oauth_gh_org: ~
|
|
alertmanager_oauth_gh_teams: []
|
|
|
|
# Route configuration
|
|
alertmanager_group_by: ['alertname', 'fleet']
|
|
alertmanager_group_wait: '30s'
|
|
alertmanager_group_interval: '3m'
|
|
alertmanager_repeat_interval: '1h'
|
|
|
|
# VictorOps paging service
|
|
alertmanager_victorops_enabled: false
|
|
#alertmanager_victorops_api_key: ~
|
|
#alertmanager_victorops_service_url: ~
|
|
#alertmanager_victorops_routing_key: ~
|
|
alertmanager_victorops_message_type: 'CRITICAL' # CRITICAL, WARNING, INFO
|
|
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 %}
|
|
|
|
# For discovery of prometheus master nodes
|
|
consul_catalog_url: 'http://localhost:8500/v1/catalog'
|
|
|
|
# Generic container options
|
|
compose_recreate: 'smart'
|
|
compose_state: 'present'
|
|
compose_restart: false
|