-
Notifications
You must be signed in to change notification settings - Fork 46
/
server.json
34 lines (34 loc) · 1.13 KB
/
server.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
{
"bootstrap" : false,
"server" : true,
"datacenter" : "aws-tutorial-series",
"data_dir" : "/tmp/consul",
"encrypt" : "__ENCRYPT__",
"log_level" : "INFO",
"enable_syslog" : true,
"start_join" : ["__BOOTSTRAP_PRIVATE_IP__", "__NON_BOOTSTRAP_PRIVATE_IP__"],
"node_name": "__NODE_NAME__",
"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"
}
]
}