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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM