MMarvel插件安裝

一、Marvel插件介紹
Marvel插件:在簇中從每個節(jié)點(diǎn)匯集數(shù)據(jù)。這個插件必須每個節(jié)點(diǎn)都得安裝。Marvel是Elasticsearch的管理和監(jiān)控工具,在開發(fā)環(huán)境下免費(fèi)使用。它包含了一個叫做Sense的交互式控制臺,使用戶方便的通過瀏覽器直接與Elasticsearch進(jìn)行交互。
二、Marvel插件安裝
第一步:
91221.elk.node1.com<2016-12-14 11:04:30> ~
elasticsearch>$ ./plugin install license
-> Installing license…Trying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license/2.3.2/license-2.3.2.zip …Downloading …….DONEVerifying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license/2.3.2/license-2.3.2.zip checksums if available …Downloading .DONEInstalled license into /data/elasticsearch/plugins/license
第二步:
91221.elk.node1.com<2016-12-14 11:04:30> ~
elasticsearch>$ ./plugin install marvel-agent
-> Installing marvel-agent…Trying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/marvel-agent/2.3.2/marvel-agent-2.3.2.zip …Downloading ……….DONEVerifying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/marvel-agent/2.3.2/marvel-agent-2.3.2.zip checksums if available …Downloading .DONE
第三步:
使用Kibana安裝最新版本的marvel:
91221.elk.node1.com<2016-12-14 11:01:09> /opt/kibana-4.6.1/bin
root># ./kibana plugin --install elasticsearch/marvel/latest
Installing marvel
Attempting to transfer from https://download.elastic.co/elasticsearch/marvel/marvel-latest.tar.gz
Transferring 2399229 bytes....................
Transfer complete
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles...
Plugin installation complete

第四步:
啟動kibana
91221.elk.node1.com<2016-12-14 11:04:56> /opt/kibana-4.6.1/bin
root># ./kibana
log [11:05:02.107] [info][status][plugin:kibana@1.0.0] Status changed from uninitialized to green - Ready
log [11:05:02.162] [info][status][plugin:elasticsearch@1.0.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [11:05:02.198] [info][status][plugin:marvel@2.4.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [11:05:02.218] [info][status][plugin:kbn_vislib_vis_types@1.0.0] Status changed from uninitialized to green - Ready
log [11:05:04.943] [info][status][plugin:markdown_vis@1.0.0] Status changed from uninitialized to green - Ready
log [11:05:04.950] [info][status][plugin:metric_vis@1.0.0] Status changed from uninitialized to green - Ready
log [11:05:04.956] [info][status][plugin:spyModes@1.0.0] Status changed from uninitialized to green - Ready
log [11:05:04.961] [info][status][plugin:statusPage@1.0.0] Status changed from uninitialized to green - Ready
log [11:05:04.966] [info][status][plugin:table_vis@1.0.0] Status changed from uninitialized to green - Ready
log [11:05:04.974] [info][listening] Server running at http://0.0.0.0:5601
log [11:05:09.952] [info][status][plugin:elasticsearch@1.0.0] Status changed from yellow to yellow - No existing Kibana index found
log [11:05:15.229] [info][status][plugin:marvel@2.4.1] Status changed from yellow to green - Marvel ready
log [11:05:15.235] [info][status][plugin:elasticsearch@1.0.0] Status changed from yellow to green - Kibana index ready

1.png

增加代理的監(jiān)控
root># cat /opt/elasticsearch-node1/config/elasticsearch.yml
marvel.agent.exporters:
id1:
type: http
host: ["http://192.168.91.221:9200", "http://192.168.91.222:9200", "192.168.91.223:9200"]
訪問如圖所示

11.png
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

推薦閱讀更多精彩內(nèi)容

  • 1、ELK平臺介紹 在搜索ELK資料的時(shí)候,發(fā)現(xiàn)這篇文章比較好,于是摘抄一小段:以下內(nèi)容來自:http://bai...
    螺旋上升的世界閱讀 3,048評論 0 20
  • 環(huán)境 系統(tǒng)版本 Linux version 2.6.32-696.3.1.el6.x86_64 (mockbuil...
    lihuibo閱讀 1,227評論 0 1
  • 一、ELK介紹 本節(jié)內(nèi)容來自開源實(shí)時(shí)日志分析ELK平臺部署,感謝原作者詳細(xì)的介紹。 日志主要包括系統(tǒng)日志、應(yīng)用程序...
    ANANc閱讀 881評論 0 4
  • Linux-Server-Notes PMS /home/softwareluke/圖片/2017-09-11 0...
    燕京博士閱讀 598評論 0 1
  • 我有多么希望了解自己,有多需要了解自己。 我越來越想了解自己,越來越想明白自己。 而認(rèn)識自己,甚至比認(rèn)識世界還難·...
    我及我閱讀 268評論 0 0