infra-role-alertmanager/defaults/main.yml

62 lines
2.0 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.21.0'
alertmanager_cont_image: 'quay.io/prometheus/alertmanager:{{ alertmanager_cont_tag }}'
alertmanager_cont_log_lvl: 'info'
# 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: ~
# OAuth
alertmanager_oauth_id: ~
alertmanager_oauth_secret: ~
alertmanager_oauth_cookie_secret: ~
alertmanager_oauth_gh_org: ~
alertmanager_oauth_gh_teams: []
alertmanager_oauth_cont_port: 8092
alertmanager_oauth_cont_tag: 'v5.0.0'
alertmanager_oauth_cont_image: 'quay.io/pusher/oauth2_proxy:{{ alertmanager_oauth_cont_tag }}'
# Route configuration
alertmanager_group_by: ['alertname', 'cluster']
alertmanager_group_wait: '30s'
alertmanager_group_interval: '3m'
alertmanager_repeat_interval: '1h'
# VictorOps paging service
alertmanager_victorops_api_key: ~
alertmanager_victorops_service_url: ~
alertmanager_victorops_routing_key: ~
alertmanager_victorops_message_type: 'CRITICAL' # CRITICAL, WARNING, INFO
alertmanager_victorops_state_message: '{% raw %}Alert: {{ .CommonLabels.alertname }}. Summary:{{ .CommonAnnotations.summary }}. RawData: {{ .CommonLabels }}{% 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