-
Notifications
You must be signed in to change notification settings - Fork 12
/
amc.dev.conf
executable file
·75 lines (62 loc) · 2.11 KB
/
amc.dev.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[AMC]
update_interval = 5
#certfile = "<certificate_file_path>"
#keyfile = "<key_file_path>"
#Example : File paths should be double quoted.
#certfile = "/home/amc/self-ssl.crt"
#keyfile = "/home/amc/self-ssl.key"
database = "/home/zohar/go/src/github.com/aerospike-community/amc/amc.db"
bind = "0.0.0.0:8081"
pidfile = "/tmp/amc.pid"
loglevel = "debug"
errorlog = "/home/zohar/go/src/github.com/aerospike-community/amc/amc.log"
chdir = "/home/zohar/go/src/github.com/aerospike-community/amc/"
static_dir = "/home/zohar/go/src/github.com/aerospike-community/amc/static"
timeout = 150
# when you start monitoring a cluster, it will be polled activaly in the background.
# this setting determines how long will that clustered be kept after it is not polled anymore.
# This setting will not affect the clusters in the [amc.clusters] section.
# values <= 0 mean never remove.
cluster_inactive_before_removal = 1800
[amc.clusters]
# [amc.clusters.db1]
# host = "ubvm"
#tls_name =
# port = 3000
#user = "admin"
#password = "admin"
#alias =
[amc.clusters.db2]
host = "172.17.0.3"
#tls_name = ""
port = 3000
#user = "admin"
#password = "admin"
#alias =
show_in_ui = true
[mailer]
template_path = "/home/zohar/go/src/github.com/aerospike-community/amc/mailer/templates"
#host = "smtp.outlook.com"
#port = 587
#user = ""
#password = ""
#send_to = ["[email protected]"]
accept_invalid_cert = true
[basic_auth]
# you can also set $AMC_AUTH_USER env variable
#user = "admin"
# you can also set $AMC_AUTH_PASSWORD env variable
#password = "admin"
[TLS]
# name of cert files to add to the pool for TLS connections
# All entries should be a string
server_cert_pool = [
"/home/zohar/go/src/github.com/aerospike-community/amc/cert.pem",
]
[tls.client_certs]
# [tls.client_certs.a]
# cert_file="/Users/khosrow/as_certs/ca/subject/ClusterName-a-Chainless/cert.pem"
# key_file="/Users/khosrow/as_certs/ca/subject/ClusterName-a-Chainless/key.pem"
# [tls.client_certs.b]
# cert_file="/Users/khosrow/as_certs/ca/subject/ClusterName-a-Chainless/cluster_chainless_chain.pem"
# key_file="/Users/khosrow/as_certs/ca/subject/ClusterName-a-Chainless/key.pem"