-
Notifications
You must be signed in to change notification settings - Fork 46
/
bootstrap.json
44 lines (44 loc) · 1.35 KB
/
bootstrap.json
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
{
"bootstrap" : true,
"server" : true,
"datacenter" : "aws-tutorial-series",
"data_dir" : "/tmp/consul",
"ui_dir" : "/root/dist",
"encrypt" : "__ENCRYPT__",
"log_level" : "INFO",
"enable_syslog" : true,
"start_join" : ["__BOOTSTRAP_PRIVATE_IP__", "__NON_BOOTSTRAP_PRIVATE_IP__"],
"node_name": "__NODE_NAME__",
"http_api_response_headers" : {
"Access-Control-Allow-Origin" : "*"
},
"addresses" : {
"http": "__BOOTSTRAP_PRIVATE_IP__"
},
"ports" : {
"http" : 80
},
"checks": [
{
"id" : "check_cpu_utilization",
"notes" : "Greater than 50% warn, greater than 75% fail.",
"name" : "CPU Utilization",
"script" : "/root/consul_demo/scripts/cpu_utilization.sh",
"interval" : "10s"
},
{
"id" : "check_mem_utilization",
"notes" : "Greater than 50% warn, greater than 75% fail.",
"name" : "MEM Utilization",
"script" : "/root/consul_demo/scripts/mem_utilization.sh",
"interval" : "10s"
},
{
"id" : "check_hdd_utilization",
"notes" : "Greater than 50% warn, greater than 75% fail.",
"name" : "HDD Utilization",
"script" : "/root/consul_demo/scripts/hdd_utilization.sh",
"interval" : "10s"
}
]
}