![]() |
5 лет назад | |
---|---|---|
.. | ||
Makefile.inc | 6 лет назад | |
README.md | 6 лет назад | |
mysql.chart.py | 5 лет назад | |
mysql.conf | 6 лет назад |
Module monitors one or more mysql servers
Requirements:
It will produce following charts (if data is available):
Bandwidth in kilobits/s
Queries in queries/sec
Queries By Type in queries/s
Handlerse in handlers/s
Table Locks in locks/s
Table Select Join Issuess in joins/s
Table Sort Issuess in joins/s
Tmp Operations in created/s
Connections in connections/s
Connections Active in connections/s
Binlog Cache in threads
Threads in transactions/s
Threads Creation Rate in threads/s
Threads Cache Misses in misses
InnoDB I/O Bandwidth in KiB/s
InnoDB I/O Operations in operations/s
InnoDB Pending I/O Operations in operations/s
InnoDB Log Operations in operations/s
InnoDB OS Log Pending Operations in operations
InnoDB OS Log Operations in operations/s
InnoDB OS Log Bandwidth in KiB/s
InnoDB Current Row Locks in operations
InnoDB Row Operations in operations/s
InnoDB Buffer Pool Pagess in pages
InnoDB Buffer Pool Flush Pages Requests in requests/s
InnoDB Buffer Pool Bytes in MiB
InnoDB Buffer Pool Operations in operations/s
QCache Operations in queries/s
QCache Queries in Cache in queries
QCache Free Memory in MiB
QCache Memory Blocks in blocks
MyISAM Key Cache Blocks in blocks
MyISAM Key Cache Requests in requests/s
MyISAM Key Cache Requests in requests/s
MyISAM Key Cache Disk Operations in operations/s
Open Files in files
Opened Files Rate in files/s
Binlog Statement Cache in statements/s
Connection Errors in errors/s
Slave Behind Seconds in seconds
I/O / SQL Thread Running State in bool
Replicated Writesets in writesets/s
Replicated Bytes in KiB/s
Galera Queue in writesets
Replication Conflicts in transactions
Flow Control in ms
You can provide, per server, the following:
Here is an example for 3 servers:
update_every : 10
priority : 90100
local:
'my.cnf' : '/etc/mysql/my.cnf'
priority : 90000
local_2:
user : 'root'
pass : 'blablablabla'
socket : '/var/run/mysqld/mysqld.sock'
update_every : 1
remote:
user : 'admin'
pass : 'bla'
host : 'example.org'
port : 9000
If no configuration is given, module will attempt to connect to mysql server via unix socket at /var/run/mysqld/mysqld.sock
without password and with username root