首页 > 其他 > 详细

cerebro 配置

时间:2018-07-24 20:21:35      阅读:342      评论:0      收藏:0      [点我收藏+]

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 配置

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!