docker 监控报警以及日志分析

1.curl -SsL -o /mydata/docker_training/csphere/csphere-install.sh https://csphere.cn/static/csphere-install-v2.sh

2.安装csphere-controller容器

/mydata/docker_training/csphere/csphere-install.sh      选择controller

3.启动csphere-controller界面获得agent链接


4.安装csphere-agent容器

env ROLE=agent CONTROLLER_IP=60.205.177.72 CONTROLLER_PORT=1016 CSPHERE_VERSION=0.12.3 AUTH_KEY=4de3270bc3cc6e5f584c51a943fa558a9989be06e5ffd9af665fa43a5fb1231d36cb0511492a4851 /bin/sh /mydata/docker_training/csphere/csphere-install.sh

5.常用smtp邮箱格式

docker 监控报警以及日志分析_第1张图片


6.docker-compose安装

curl -L https://github.com/docker/compose/releases/download/1.1.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose

chmod +x /usr/local/bin/docker-compose

7.docker环境搭建elasticsearch
https://segmentfault.com/a/1190000004376504

8.elasticsearch5 插件安装
head插件:http://www.cnblogs.com/xing901022/p/6030296.html
使用 Head 插件连接不上集群
http://www.cnblogs.com/wendu/p/6549806.html
CentOS7上elasticsearch5.0启动失败
http://www.linuxdiyf.com/linux/25826.html
 
  
elasticsearch 学习
https://www.elastic.co/guide/en/logstash/5.2/filter-plugins.html
 
  
 
  
 
  

9.bigdesk插件

执行网页浏览命令:python -m SimpleHTTPServer 

docker 监控报警以及日志分析_第2张图片









































你可能感兴趣的:(docker)