We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Check manual page of mysql_capacity

Checkmk Manual

Search in the manual

Size of MySQL tablespaces

Distribution: official part of Check_MK
License: GPL
Supported Agents: Linux

This check verifies the space used by MySQL databases as returned from MySQL. The information is built by summing up the space for indices and tables of a given database.

It relies on the information returned from MySQL, which can be incorrect as MySQL does not always account for all database information.

In practice, the check works well for InnoDB. This should even include InnoDB on raw partitions.

MyISAM reporting is not possible as MySQL does not make the data available. (See the dirsize checks as a workaround should you really use MyISAM)

The check will go to WARN or CRIT levels if a user-specified limit is exceeded.


The check generates one item per Database found. Internal MySQL databases are ignored.