ElasticSearch监控工具 - cerebro

官方地址: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
posted @ 2019-12-05 12:07  哈喽哈喽111111  阅读(2583)  评论(0编辑  收藏  举报