下载编译好的二进制包并解压:
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