do not overwrite root auto-detection for mysql
Costa Tsaousis (ktsaou) committed
Dec 19, 2016 at 09:43 UTC
b1eb6c5f19ef0361908357d82de034b4fb6cb524
2 files changed
+11
-10
conf.d/python.d/mysql.conf
+9
-9
@@ -213,41 +213,41 @@ tcpipv6_root:
213
214
# Now we try the same as above with user: netdata
215
216
-mycnf1_root:
216
+mycnf1_netdata:
217
name : 'local'
218
user : 'netdata'
219
'my.cnf' : '/etc/my.cnf'
220
221
-mycnf2_root:
221
+mycnf2_netdata:
222
name : 'local'
223
user : 'netdata'
224
'my.cnf' : '/etc/mysql/my.cnf'
225
226
-socket1_root:
226
+socket1_netdata:
227
name : 'local'
228
user : 'netdata'
229
# pass : ''
230
socket : '/var/run/mysqld/mysqld.sock'
231
232
-socket2_root:
232
+socket2_netdata:
233
name : 'local'
234
user : 'netdata'
235
# pass : ''
236
socket : '/var/run/mysqld/mysql.sock'
237
238
-socket3_root:
238
+socket3_netdata:
239
name : 'local'
240
user : 'netdata'
241
# pass : ''
242
socket : '/var/lib/mysql/mysql.sock'
243
244
-socket4_root:
244
+socket4_netdata:
245
name : 'local'
246
user : 'netdata'
247
# pass : ''
248
socket : '/tmp/mysql.sock'
249
250
-tcp_root:
250
+tcp_netdata:
251
name : 'local'
252
user : 'netdata'
253
# pass : ''
@@ -256,14 +256,14 @@ tcp_root:
256
# keep in mind port might be ignored by mysql, if host = 'localhost'
257
# http://serverfault.com/questions/337818/how-to-force-mysql-to-connect-by-tcp-instead-of-a-unix-socket/337844#337844
258
259
-tcpipv4_root:
259
+tcpipv4_netdata:
260
name : 'local'
261
user : 'netdata'
262
# pass : ''
263
host : '127.0.0.1'
264
port : '3306'
265
266
-tcpipv6_root:
266
+tcpipv6_netdata:
267
name : 'local'
268
user : 'netdata'
269
# pass : ''
web/demosites.html
+2
-1
@@ -626,7 +626,8 @@ p {
626
<p class=description>
627
Simple.
628
Effective.
629
- Awesome.<br/> <br/>
629
+ Awesome.
630
+ <br/> <br/>
631
<strong>Unparalleled</strong> insights, in <strong>real-time</strong>,
632
of <strong>everything</strong> happening on your Linux systems and applications,
633
with stunning, <strong>interactive</strong> web dashboards