标签: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脚本
标签:cluster http UNC sas res mes ali use localhost
原文地址:https://www.cnblogs.com/zhengwenqiang/p/9362324.html