3 Currently every plugin must be written in python3
4 Also plugins support changing their data collection frequency by setting `update_every` variable in their configuration file.
7 The following python.d plugins are supported:
11 The plugin will monitor one or more mysql servers
12 Plugins needs installed pymysql in `python_modules` directory or system-wide.
14 It will produce the following charts (if data is available):
16 1. **Bandwidth** in kbps
20 2. **Queries** in queries/sec
25 3. **Operations** in operations/sec
42 4. **Table Locks** in locks/sec
46 5. **Select Issues** in issues/sec
53 6. **Sort Issues** in issues/sec
60 You can provide, per server, the following:
62 1. a name, anything you like, but keep it short
63 2. username which have access to database (deafults to 'root')
64 3. password (defaults to none)
65 4. mysql my.cnf configuration file
66 5. mysql socket (optional)
67 6. mysql host (ip or hostname)
68 7. mysql port (defaults to 3306)
70 Here is an example for 3 servers updating data every 10 seconds
78 'my.cnf' : '/etc/mysql/my.cnf'
82 'password' : 'blablablabla',
83 'socket' : '/var/run/mysqld/mysqld.sock'
88 'host' : 'example.org',
93 If no configuration is given, the plugin will attempt to connect to mysql server via unix socket at `/var/run/mysqld/mysqld.sock` without password and username `root`