![]() |
6 лет назад | |
---|---|---|
.. | ||
Makefile.inc | 6 лет назад | |
README.md | 6 лет назад | |
mysql.chart.sh | 6 лет назад | |
mysql.conf | 6 лет назад |
THIS MODULE IS OBSOLETE. USE THE PYTHON ONE - IT SUPPORTS MULTIPLE JOBS AND IT IS MORE EFFICIENT
The plugin will monitor one or more mysql servers
It will produce the following charts:
Bandwidth in kbps
Queries in queries/sec
Operations in operations/sec
Table Locks in locks/sec
Select Issues in issues/sec
Sort Issues in issues/sec
You can configure many database servers, like this:
You can provide, per server, the following:
Here is an example for 2 servers:
mysql_opts[server1]="-h server1.example.com"
mysql_opts[server2]="-h server2.example.com --connect_timeout 2"
The above will use the mysql
command found in the system path.
You can also provide a custom mysql command per server, like this:
mysql_cmds[server2]="/opt/mysql/bin/mysql"
The above sets the mysql command only for server2. server1 will use the system default.
If no configuration is given, the plugin will attempt to connect to mysql server at localhost.