发邮件告警问题
来源:12-9 监控落地 - 指标完善、Grafana看板和邮件报警(下)

慕侠3072357
2020-02-11
按照老师的步骤和文件,Prometheus已经搭建成功。但是在发邮件告警却出不来。
smtp_smarthost: 'smtp.xxx.com:25'
smtp_from: 'MIT.BSA@xxx.com'
smtp_auth_username: 'MIT.BSA@xxx.com'
smtp_auth_password: 'BS@97531'
route:
group_by: ['job']
group_wait: 30s
group_interval: 5m
repeat_interval: 12h
receiver: 'email-alerts'
routes:
- match:
alertname: .*
receiver: 'email-alerts'
receivers:
- name: 'email-alerts'
email_configs:
- to: 'Hui.Zhan@xxx.com'
send_resolved: true
使用的是公司的exchange 邮箱。用其他程序方式,配置都没有问题。
down ETCD 节点 等这里一直看不到出告警。
我想知道,这个在哪里能够定位?到底在哪里没有发送成功?
写回答
1回答
-
刘果国
2020-02-12
这个主要怀疑点在邮箱服务器,可以先尝试课程的配置试试
00
相似问题