global:
resolve_timeout: 5m
smtp_from: '715740383@qq.com'
smtp_smarthost: 'smtp.qq.com:465'
smtp_auth_username: '715740383@qq.com'
smtp_auth_password: 'gqyazfqunecnbdfe'
smtp_require_tls: false
smtp_hello: 'qq.com'
route:
group_by: ['alertname']
group_wait: 5s
group_interval: 5s
repeat_interval: 5m
receiver: 'email'
receivers:
- name: 'email'
email_configs:
- to: '715740383@qq.com'
send_resolved: true
inhibit_rules:
- source_match:
severity: 'critical'
target_match:
severity: 'warning'
equal: ['alertname', 'dev', 'instance']
alertmanager.yml (保密)
未经允许不得转载:工具盒子 » alertmanager.yml (保密)