grafana告警配置

匿名 (未验证) 提交于 2019-12-02 23:49:02

老实说grafana告警不是很好用,也不能分级告警。建议用prometheus的告警

1.配置告警规则

我这里是用的移动139邮箱,

[smtp]
enabled = true

user =15118693561@139.COM #####你的邮箱
# If the password contains # or ; you have to wrap it with triple quotes. Ex """#password;"""
password =密码######你的密码
cert_file =
key_file =
skip_verify = false
from_address = 15118693561@139.COM###你的邮箱
from_name = Grafana
ehlo_identity =

[emails]
welcome_email_on_sign_up = false
templates_pattern = emails/*.html

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!