1
1
############
2
2
# Statusengine Worker Configuration
3
3
############
4
+ #
5
+ # @formatter:off
6
+ #
4
7
5
8
# Every node in the cluster needs a name
6
9
# IT IS REQUIRED THAT THE NAME IS UNIQUE IN THE CLUSTER!
@@ -22,9 +25,9 @@ use_gearman: 1
22
25
# The Statusengine Broker Module exports all data as json encoded objects
23
26
# to the a gearman-job-server
24
27
gearman:
25
- address: 127.0.0.1
26
- port: 4730
27
- timeout: 1000
28
+ address: 127.0.0.1
29
+ port: 4730
30
+ timeout: 1000
28
31
29
32
# Determine if your Statusengine Broker Model exports all data to
30
33
# RabbitMQ or not.
@@ -39,14 +42,14 @@ use_rabbitmq: 0
39
42
# which is in development at the moment.
40
43
# See: https://github.com/statusengine/broker
41
44
rabbitmq:
42
- host: 127.0.0.1
43
- port: 5672
44
- user: statusengine
45
- password: statusengine
46
- vhost: /
47
- exchange: statusengine
48
- durable_exchange: 0
49
- durable_queues: 0
45
+ host: 127.0.0.1
46
+ port: 5672
47
+ user: statusengine
48
+ password: statusengine
49
+ vhost: /
50
+ exchange: statusengine
51
+ durable_exchange: 0
52
+ durable_queues: 0
50
53
51
54
52
55
############
@@ -60,9 +63,9 @@ use_redis: 0
60
63
61
64
# Configuration of your redis server
62
65
redis:
63
- address: 127.0.0.1
64
- port: 6379
65
- db: 0
66
+ address: 127.0.0.1
67
+ port: 6379
68
+ db: 0
66
69
67
70
############
68
71
# HISTORY DATA CONFIGURATION
@@ -78,12 +81,12 @@ use_mysql: 1
78
81
79
82
# Configuration of your MySQL server
80
83
mysql:
81
- host: { {mysql_host} }
82
- port: 3306
83
- username: { {mysql_user} }
84
- password: { {mysql_password} }
85
- database: { {mysql_database} }
86
- encoding: utf8mb4
84
+ host: { {mysql_host} }
85
+ port: 3306
86
+ username: { {mysql_user} }
87
+ password: { {mysql_password} }
88
+ database: { {mysql_database} }
89
+ encoding: utf8mb4
87
90
88
91
# Dump MySQL Query Parameters on Error
89
92
# Determines if Statusengine will call PDOStatement::debugDumpParams (https://www.php.net/manual/de/pdostatement.debugdumpparams.php)
@@ -101,10 +104,10 @@ use_crate: 0
101
104
# It is recommended to you a load balancer in front of your CrateDB cluster!
102
105
# So you will have a single ip address where Statusengine is going to connect to
103
106
crate:
104
- username: crate
105
- password:
106
- nodes:
107
- - 127.0.0.1:4200
107
+ username: crate
108
+ password:
109
+ nodes:
110
+ - 127.0.0.1:4200
108
111
# - 192.168.56.101:4200
109
112
# - 192.168.56.102:4200
110
113
@@ -168,7 +171,7 @@ number_perfdata_worker: {{number_perfdata_worker}}
168
171
# Uncomment to enable
169
172
# You can enable as much backends as you want
170
173
perfdata_backend:
171
- - graphite
174
+ - graphite
172
175
# - crate
173
176
# - mysql
174
177
# - elasticsearch
@@ -205,13 +208,13 @@ graphite_illegal_characters: /[^a-zA-Z^0-9\-\.]/
205
208
# BEFORE THE FIRST start of Statusengine Worker,
206
209
# or you need to delete/edit the old template manually via Elasticsearch API
207
210
elasticsearch_template:
208
- name: statusengine-metric
209
- number_of_shards: 2
210
- number_of_replicas: 0
211
- refresh_interval: 15s
212
- codec: best_compression
213
- enable_all: 0
214
- enable_source: 1
211
+ name: statusengine-metric
212
+ number_of_shards: 2
213
+ number_of_replicas: 0
214
+ refresh_interval: 15s
215
+ codec: best_compression
216
+ enable_all: 0
217
+ enable_source: 1
215
218
216
219
# Index that will be used to store data in Elasticsearch
217
220
elasticsearch_index: statusengine-metric-
@@ -359,3 +362,4 @@ age_perfdata: 0
359
362
# Enable (1) this option to clear proxy environment variables (For Statusengine only)
360
363
# Disable (0) and Statusengine will use the proxy out of your environment
361
364
disable_http_proxy: 1
365
+
0 commit comments