open-falcon設置報警郵件
阿新 • • 發佈:2017-12-21
pos stop ash nta start das img 分享圖片 技術
下載編譯好的二進制包並解壓:
https://files.cnblogs.com/files/dylan-wu/mail-provider.tar.gz
[root@localhost work]# ls
dashboard mail-provider mail-provider.tar.gz open-falcon
[root@localhost work]# cd mail-provider
[root@localhost mail-provider]# ls
cfg.json control falcon-mail-provider var
更改配置文件:
[root@localhost mail-provider]# vim cfg.json
修改alarm配置文件:
[root@localhost config]# pwd /home/work/open-falcon/alarm/config [root@localhost config]# vim cfg.json
啟動mail-provider重啟alarm:
[root@localhost mail-provider]# pwd /home/work/mail-provider [root@localhost mail-provider]# ./control restart falcon-mail-provider stoped... falcon-mail-provider started..., pid=15256
open-falcon設置報警郵件