prometheus-blackbox/templates/alertmanager.yml
2020-01-09 07:29:13 +03:00

18 lines
447 B
YAML

route:
receiver: "default"
receivers:
- name: "default"
email_configs:
- to: "{{ .Env.ALERT_EMAIL_TO }}"
from: "{{ .Env.ALERT_EMAIL_FROM }}"
smarthost: "{{ .Env.ALERT_SMTP_HOST }}"
auth_username: "{{ .Env.ALERT_SMTP_USER }}"
auth_password: "{{ .Env.ALERT_SMTP_PASSWORD }}"
send_resolved: true
slack_configs:
- api_url: "{{ .Env.ALERT_SLACK_WEBHOOK }}"
send_resolved: true