Skip to content

Commit 0c60096

Browse files
committed
Fix YML format that phpStorm formated wrong
1 parent 2522464 commit 0c60096

File tree

1 file changed

+36
-32
lines changed

1 file changed

+36
-32
lines changed

src/config_templates/statusengine3/config.yml.tpl

Lines changed: 36 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
############
22
# Statusengine Worker Configuration
33
############
4+
#
5+
# @formatter:off
6+
#
47

58
# Every node in the cluster needs a name
69
# IT IS REQUIRED THAT THE NAME IS UNIQUE IN THE CLUSTER!
@@ -22,9 +25,9 @@ use_gearman: 1
2225
# The Statusengine Broker Module exports all data as json encoded objects
2326
# to the a gearman-job-server
2427
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
2831

2932
# Determine if your Statusengine Broker Model exports all data to
3033
# RabbitMQ or not.
@@ -39,14 +42,14 @@ use_rabbitmq: 0
3942
# which is in development at the moment.
4043
# See: https://github.com/statusengine/broker
4144
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
5053

5154

5255
############
@@ -60,9 +63,9 @@ use_redis: 0
6063

6164
# Configuration of your redis server
6265
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
6669

6770
############
6871
# HISTORY DATA CONFIGURATION
@@ -78,12 +81,12 @@ use_mysql: 1
7881

7982
# Configuration of your MySQL server
8083
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
8790

8891
# Dump MySQL Query Parameters on Error
8992
# Determines if Statusengine will call PDOStatement::debugDumpParams (https://www.php.net/manual/de/pdostatement.debugdumpparams.php)
@@ -101,10 +104,10 @@ use_crate: 0
101104
# It is recommended to you a load balancer in front of your CrateDB cluster!
102105
# So you will have a single ip address where Statusengine is going to connect to
103106
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
108111
# - 192.168.56.101:4200
109112
# - 192.168.56.102:4200
110113

@@ -168,7 +171,7 @@ number_perfdata_worker: {{number_perfdata_worker}}
168171
# Uncomment to enable
169172
# You can enable as much backends as you want
170173
perfdata_backend:
171-
- graphite
174+
- graphite
172175
# - crate
173176
# - mysql
174177
# - elasticsearch
@@ -205,13 +208,13 @@ graphite_illegal_characters: /[^a-zA-Z^0-9\-\.]/
205208
# BEFORE THE FIRST start of Statusengine Worker,
206209
# or you need to delete/edit the old template manually via Elasticsearch API
207210
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
215218

216219
# Index that will be used to store data in Elasticsearch
217220
elasticsearch_index: statusengine-metric-
@@ -359,3 +362,4 @@ age_perfdata: 0
359362
# Enable (1) this option to clear proxy environment variables (For Statusengine only)
360363
# Disable (0) and Statusengine will use the proxy out of your environment
361364
disable_http_proxy: 1
365+

0 commit comments

Comments
 (0)