zoukankan      html  css  js  c++  java
  • ElasticSearch监控工具

    官方地址:https://github.com/lmenezes/cerebro

    需要有java环境

    下载地址:https://github.com/lmenezes/cerebro/releases

    wget https://github.com/lmenezes/cerebro/releases/download/v0.8.5/cerebro-0.8.5.tgz
    tar xzf cerebro-0.8.5.tgz -C /usr/local
    
    # 启动
    cerebro-0.8.1/bin/cerebro
    [info] play.api.Play - Application started (Prod)
    [info] p.c.s.AkkaHttpServer - Listening for HTTP on /0:0:0:0:0:0:0:0:9000
    
    # 默认使用9000端口
    
    # 指定端口启动
    bin/cerebro -Dhttp.port=8080
    
    # 指定地址启动
    bin/cerebro -Dhttp.address=192.168.75.20
    
    # 配置ES服务器
    # 非必须:如果经常使用的话,可以先在conf/application.conf中配置好ElasticSearch服务器地址
    # 第一个是不加密的,第二个是加密的
    hosts = [
      #{
      #  host = "http://localhost:9200"
      #  name = "Localhost cluster"
      #  headers-whitelist = [ "x-proxy-user", "x-proxy-roles", "X-Forwarded-For" ]
      #}
      # Example of host with authentication
      {
        host = "http://172.17.107.187:9203"
        name = "my-application"
        auth = {
          username = "elastic"
          password = "escluter123456"
        }
      }
    ]
    
    # 使用
    # 使用浏览器访问http://ip:9000
    
  • 相关阅读:
    python之字典操作
    python之元组操作
    初始超算
    后缀自动机
    博弈
    曼哈顿最小生成树
    莫队算法
    主席树
    [HNOI2014]世界树
    [SDOI2011]消耗战
  • 原文地址:https://www.cnblogs.com/sanduzxcvbnm/p/11988470.html
Copyright © 2011-2022 走看看