summaryrefslogtreecommitdiffstats
path: root/conf.d/python.d
diff options
context:
space:
mode:
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2016-11-24 01:03:18 +0200
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2016-11-24 01:03:18 +0200
commit69281db922df6db7646495cf0d5f7b507a9ab4fc (patch)
treefb60fdcc46b0947c4ad2ae3db1b5f0aec9b90cc0 /conf.d/python.d
parent7e1e77dc6595016962e50bad0c0e82da9c213968 (diff)
added mysql configuration information
Diffstat (limited to 'conf.d/python.d')
-rw-r--r--conf.d/python.d/mysql.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/conf.d/python.d/mysql.conf b/conf.d/python.d/mysql.conf
index 8fbbe6513e..d7e760f9bf 100644
--- a/conf.d/python.d/mysql.conf
+++ b/conf.d/python.d/mysql.conf
@@ -69,6 +69,23 @@
#
# ----------------------------------------------------------------------
+# mySQL CONFIGURATION
+#
+# netdata does not need any privilege - only the ability to connect
+# to the mysql server (netdata will not be able to see any data).
+#
+# Execute these commands to give the local user 'netdata' the ability
+# to connect to the mysql server on localhost, without a password:
+#
+# > create user 'netdata'@'localhost';
+# > grant usage on *.* to 'netdata'@'localhost' with grant option;
+# > flush privileges;
+#
+# with the above statements, netdata will be able to gather mysql
+# statistics, without the ability to see or alter any data or affect
+# mysql operation in any way. No change is required below.
+
+# ----------------------------------------------------------------------
# AUTO-DETECTION JOBS
# only one of them will run (they have the same name)
@@ -80,6 +97,10 @@ mycnf2:
name : 'local'
'my.cnf' : '/etc/mysql/my.cnf'
+debiancnf:
+ name : 'local'
+ 'my.cnf' : '/etc/mysql/debian.cnf'
+
socket1:
name : 'local'
# user : ''