Prometheus course: Edward Viaene & Jorn Jambers
Alertmanager
•Alertmanager Configuration (/etc/alertmanager/alertmanager.yml):
global:
smtp_smarthost: 'localhost:25'
smtp_from: '
[email protected]'
smtp_auth_username: ''
smtp_auth_password: ''
templates:
- '/etc/alertmanager/template/*.tmpl'
route:
repeat_interval: 1h
receiver: operations-team
receivers:
- name: 'operations-team'
email_configs:
- to: '
[email protected]'
slack_configs:
- api_url: https://hooks.slack.com/services/XXXXXX/XXXXXX/XXXXXX
channel: '#prometheus-course'
send_resolved: true