3 Currently every plugin must be written in python3.
4 All third party libraries should be installed system-wide or in `python_modules` directory.
5 Also plugins support changing their data collection frequency by setting `update_every` variable in their configuration file.
8 The following python.d plugins are supported:
12 The plugin will monitor one or more mysql servers
15 * python module [MySQLdb](https://github.com/PyMySQL/mysqlclient-python) (faster) or [PyMySQL](https://github.com/PyMySQL/PyMySQL) (slower)
17 It will produce following charts (if data is available):
19 1. **Bandwidth** in kbps
23 2. **Queries** in queries/sec
28 3. **Operations** in operations/sec
45 4. **Table Locks** in locks/sec
49 5. **Select Issues** in issues/sec
56 6. **Sort Issues** in issues/sec
63 You can provide, per server, the following:
65 1. a name, anything you like, but keep it short
66 2. username which have access to database (deafults to 'root')
67 3. password (defaults to none)
68 4. mysql my.cnf configuration file
69 5. mysql socket (optional)
70 6. mysql host (ip or hostname)
71 7. mysql port (defaults to 3306)
73 Here is an example for 3 servers updating data every 10 seconds
81 'my.cnf' : '/etc/mysql/my.cnf'
85 'password' : 'blablablabla',
86 'socket' : '/var/run/mysqld/mysqld.sock'
91 'host' : 'example.org',
96 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`