MMarvel插件安装

一、Marvel插件介绍
Marvel插件:在簇中从每个节点汇集数据。这个插件必须每个节点都得安装。Marvel是Elasticsearch的管理和监控工具,在开发环境下免费使用。它包含了一个叫做Sense的交互式控制台,使用户方便的通过浏览器直接与Elasticsearch进行交互。
二、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

增加代理的监控
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
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 1、ELK平台介绍 在搜索ELK资料的时候,发现这篇文章比较好,于是摘抄一小段:以下内容来自:http://bai...
    螺旋上升的世界阅读 3,053评论 0 20
  • 环境 系统版本 Linux version 2.6.32-696.3.1.el6.x86_64 (mockbuil...
    lihuibo阅读 1,228评论 0 1
  • 一、ELK介绍 本节内容来自开源实时日志分析ELK平台部署,感谢原作者详细的介绍。 日志主要包括系统日志、应用程序...
    ANANc阅读 882评论 0 4
  • Linux-Server-Notes PMS /home/softwareluke/图片/2017-09-11 0...
    燕京博士阅读 599评论 0 1
  • 我有多么希望了解自己,有多需要了解自己。 我越来越想了解自己,越来越想明白自己。 而认识自己,甚至比认识世界还难·...
    我及我阅读 268评论 0 0