kubeasz/manifests/prometheus/prom-alertsmanager.yaml

22 lines
474 B
YAML
Raw Normal View History

2018-06-05 19:23:47 +08:00
alertmanagerFiles:
alertmanager.yml:
global:
smtp_smarthost: 'smtp.163.com:25'
smtp_from: 'xxxx@163.com'
smtp_auth_username: 'xxxx@163.com'
smtp_auth_password: '*********'
smtp_require_tls: false
route:
group_by: ['alertname', 'pod_name']
group_wait: 10s
group_interval: 5m
receiver: AlertMail
repeat_interval: 3h
receivers:
- name: 'AlertMail'
email_configs:
- to: 'xxxx@163.com'