前提
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