Skip to main content

InnoDB Table Space Monitoring

Project description

This tool monitors a InnoDB tablespace wich a autoincrement with a maximum set.

It compares the setting in the config file against the size of the file on the filesystem.

It does not check the size of the data within the tablespace, it only checks if the datafile is allowed to grow enough or not.

Examples:

$ ./innodb_check_free.py –critical 10000000 -c /etc/my.cnf CRITICAL: Datafile ibdata1 is allowed to grow with 6291456 bytes, critical threshold is 10000000

$ ./innodb_check_free_pynag.py -m /etc/my.cnf -c 10000000: -w 1000000: WARNING: 2097152 is within warning range: 1000000: | ‘ibdata1_free’=2097152;;;;

Notes on the tablespace settings in InnoDB
  • It looks like a size in KB is not actually supported (MySQL Bug #68282)

All script use Python 3 except innodb_check_free_pynag.py as pynag doesn’t support Python3 yet

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

innodb-space-0.2.tar.gz (3.5 kB view details)

Uploaded Source

File details

Details for the file innodb-space-0.2.tar.gz.

File metadata

  • Download URL: innodb-space-0.2.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for innodb-space-0.2.tar.gz
Algorithm Hash digest
SHA256 e4aefe1cd23e02ff4488eadd6f8941f881abbcdac3f17665f122ff0c068c7f3a
MD5 7a7fd99b2a28f7966afd82493ff35b22
BLAKE2b-256 e4ed26f3cf2984df4b5b0afa99372df4d55ca98ae56b155240e939c8cf40f31f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page