1. 程式人生 > >open-falcon設置報警郵件

open-falcon設置報警郵件

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設置報警郵件