grafana邮件告警

一 修改grafana.ini

~# cat /etc/grafana/grafana.ini
#################################### SMTP / Emailing ##########################
[smtp]
enabled = true
host = smtp.exmail.qq.com:465
user = 1304995320@qq.com
# If the password contains # or ; you have to wrap it with triple quotes. Ex """#password;"""
password = xxxxxxxx
;cert_file =
;key_file =
skip_verify = true
from_address = 1304995320@qq.com

二 重启grafana服务

~# systemctl restart grafana-server.service

三 设置grafana web

四 验证告警信息

posted @ 2021-12-01 16:02  小吉猫  阅读(98)  评论(0编辑  收藏  举报