-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_sample.yaml
91 lines (91 loc) · 2.73 KB
/
config_sample.yaml
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
opentsdb_address: "http://bosun.example.com:8070/api/put"
applications:
zookeeper:
services:
client:
max_failures: 2
check_options:
interval: 10s
type: tcp_connect
instances:
- "zookeeper1.example.com:2181"
- "zookeeper2.example.com:2181"
- "zookeeper3.example.com:2181"
- "zookeeper4.example.com:2181"
- "zookeeper5.example.com:2181"
hbase:
services:
master:
maxFailures: 1
check_options:
interval: 10s
type: http_status
http_method: HEAD
instances:
- "http://hbase-master1.example.com:16010"
- "http://hbase-master2.example.com:16010"
regionserver:
maxFailures: 2
check_options:
interval: 10s
type: http_status
http_method: HEAD
instances:
- "http://worker01.example.com:16030"
- "http://worker02.example.com:16030"
- "http://worker03.example.com:16030"
- "http://worker04.example.com:16030"
- "http://worker05.example.com:16030"
rest:
maxFailures: 1
check_options:
interval: 10s
type: http_status
instances:
- "http://hbase-rest1.example.com:8080"
- "http://hbase-rest2.example.com:8080"
hdfs:
services:
journalnode:
max_failures: 2
check_options:
interval: 10s
type: http_status
instances:
- "http://hdfs-journalnode1.example.com:8480"
- "http://hdfs-journalnode2.example.com:8480"
- "http://hdfs-journalnode3.example.com:8480"
- "http://hdfs-journalnode4.example.com:8480"
- "http://hdfs-journalnode5.example.com:8480"
namenode:
max_failures: 1
check_options:
interval: 10s
type: http_status
instances:
- "http://hdfs-namenode1.example.com:50070"
- "http://hdfs-namenode2.example.com:50070"
datanode:
max_failures: 2
check_options:
interval: 10s
type: http_status
instances:
- "http://worker01.example.com:50075"
- "http://worker02.example.com:50075"
- "http://worker03.example.com:50075"
- "http://worker04.example.com:50075"
- "http://worker05.example.com:50075"
solr:
services:
solr:
max_failures: 2
check_options:
interval: 10s
type: http_status
instances:
- "http://solr01.example.com:8080"
- "http://solr02.example.com:8080"
- "http://solr03.example.com:8080"
- "http://solr04.example.com:8080"
- "http://solr05.example.com:8080"