grafana--邮箱告警配置
安装
wget https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana-6.0.2-1.x86_64.rpm
yum localinstall grafana-6.0.2-1.x86_64.rpm
修改配置
vim /etc/grafana/grafana.ini
[smtp]
enabled = true
host = 10.2.4.53:25
user = admin
password = mail@123
skip_verify = true
from_address = admin@automail.com
from_name = Grafana
[alerting]
execute_alerts = true
重启服务
systemctl restart grafana-server
发邮件测试