Skip to content

collectors MySQLCollector

Rob Smith edited this page Oct 29, 2012 · 20 revisions

MySQLCollector

Dependencies

  • MySQLdb

Options - Generic Options

Setting Default Description Type
slave False Collect SHOW SLAVE STATUS str
byte_unit byte Default numeric output(s) str
passwd yourpassword Password str
db yourdatabase Database str
enabled False Enable collecting these metrics bool
publish Which rows of '[SHOW GLOBAL STATUS](http://dev.mysql.com/doc/refman/5.1/en/show-status.html)' you would like to publish. Leave unset to publish all
host localhost Hostname str
innodb False Collect SHOW ENGINE INNODB STATUS str
user yourusername Username str
master False Collect SHOW MASTER STATUS str
port 3306 Port int

Example Output

__EXAMPLESHERE__
Clone this wiki locally