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