feature: add alertmanager function

pull/1419/head
lin.huang 2 years ago
parent 4cad51b2b7
commit dbd03a6030

@ -3,7 +3,7 @@ global:
smtp_from: '18565885972@163.com' smtp_from: '18565885972@163.com'
smtp_smarthost: 'smtp.163.com:465' smtp_smarthost: 'smtp.163.com:465'
smtp_auth_username: '18565885972@163.com' smtp_auth_username: '18565885972@163.com'
smtp_auth_password: 'ZTASKEORBBNKWPRV' smtp_auth_password: 'YOURAUTHPASSWORD'
smtp_require_tls: false smtp_require_tls: false
smtp_hello: 'xxx监控告警' smtp_hello: 'xxx监控告警'
@ -21,5 +21,5 @@ receivers:
email_configs: email_configs:
- to: '2393740379@qq.com' - to: '2393740379@qq.com'
html: '{{ template "email.to.html" . }}' html: '{{ template "email.to.html" . }}'
headers: { Subject: "[WARN]告警" } headers: { Subject: "[OPENIM-SERVER]告警" }
send_resolved: true send_resolved: true
Loading…
Cancel
Save