前提
centos7环境
https://www.cnblogs.com/zhuwenjoyce/p/10629320.html elasticsearch搜索引擎
https://www.cnblogs.com/zhuwenjoyce/p/10633451.html 安装kibana UI系统
下载和安装
wget https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-6.7.0-darwin-x86_64.tar.gz 建议离线下载
tar -zxvf metricbeat-6.7.0-darwin-x86_64.tar.gz 解压
cd metricbeat-6.7.0-darwin-x86_64/
metricbeat modules enable system 启用system模块
metricbeat setup -e 加载kibana仪表盘
service metricbeat start 启动服务
service metricbeat stop 停止metric服务
service metricbeat status 查看服务状态
启动好Kibana之后,启动好metricbeat之后,在浏览器输入:http://localhost:5601/app/kibana#/dashboard/Metricbeat-system-overview