码迷,mamicode.com
首页 > 其他好文 > 详细

cerebro 配置

时间:2018-07-24 20:26:29      阅读:1760      评论:0      收藏:0      [点我收藏+]

标签:cluster   http   UNC   sas   res   mes   ali   use   localhost   

cerebro 是 elastic search 的 监控平台

# Authentication
auth = {
  # Example of LDAP authentication
  type: ldap
    settings: {
      url = "ldap://88.113.81.53:389"
      #base-dn = "ou=active,ou=Employee"
      # OpenLDAP might be something like
      base-dn = "dc=ali,dc=work"
      # Usually method should be left as simple
      # Otherwise, set it to the SASL mechanisms to try
      method  = "simple"
      # Usernames in the form of email addresses (containing @) are passed through unchanged
      # Set user-domain to append @user-domain to bare usernames
      user-domain = "vipkid.com.cn"
      # Or leave empty to use user-format formatting
      #user-domain = ""
      # user-format executes a string.format() operation where
      # username is passed in first, followed by base-dn
      # Leave username unchanged
      user-format = "%s"
      # Like setting user-domain
      #user-format = "%s@domain.com"
      # Common for OpenLDAP
      #user-format = "uid=%s,%s"
    }
  # Example of simple username/password authentication
  #type: basic
  #  settings: {
  #    username = "archsso_ldap"
  #    password = "PkjZZ96FnAc6D"
  #  }
}
# A list of known hosts
hosts = [
  #{
  #  host = "http://localhost:9200"
  #  name = "Some Cluster"
  #},
  # Example of host with authentication
  #{
  #  host = "http://some-authenticated-host:9200"
  #  name = "Secured Cluster"
  #  auth = {
  #    username = "username"
  #    password = "secret-password"
  #  }
  #}
{
 host = "http://11.22.33.55:1200"
 name = "cluster-name"
}]

 cerebro 是一个java项目,cerebro命令就是一个shell脚本

cerebro 配置

标签:cluster   http   UNC   sas   res   mes   ali   use   localhost   

原文地址:https://www.cnblogs.com/zhengwenqiang/p/9362324.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!