Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dveeden/innodb-space
InnoDB tablespace monitoring
https://github.com/dveeden/innodb-space
Last synced: about 1 month ago
JSON representation
InnoDB tablespace monitoring
- Host: GitHub
- URL: https://github.com/dveeden/innodb-space
- Owner: dveeden
- License: gpl-3.0
- Created: 2013-11-14T12:58:33.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-12-11T15:07:32.000Z (almost 11 years ago)
- Last Synced: 2024-09-08T13:53:55.779Z (2 months ago)
- Language: Python
- Size: 195 KB
- Stars: 1
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
InnoDB Free Space Monitor
=========================
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