Skip to content

Commit

Permalink
feature: add alertmanager function
Browse files Browse the repository at this point in the history
  • Loading branch information
lin.huang committed Nov 15, 2023
1 parent 4cad51b commit dbd03a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/alertmanager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ global:
smtp_from: '[email protected]'
smtp_smarthost: 'smtp.163.com:465'
smtp_auth_username: '[email protected]'
smtp_auth_password: 'ZTASKEORBBNKWPRV'
smtp_auth_password: 'YOURAUTHPASSWORD'
smtp_require_tls: false
smtp_hello: 'xxx监控告警'

Expand All @@ -21,5 +21,5 @@ receivers:
email_configs:
- to: '[email protected]'
html: '{{ template "email.to.html" . }}'
headers: { Subject: "[WARN]告警" }
headers: { Subject: "[OPENIM-SERVER]告警" }
send_resolved: true

0 comments on commit dbd03a6

Please sign in to comment.