{ 'type' : 'MyInnoTbSpc' , 'subents' : [ { 'name' : 'website', 'MyDB' : 'website', 'MyUser' : 'monitor', 'MyPass' : 'abcd1234', 'MyHost' : 'db1.example.com', 'Port' : '3306', 'status' : 'on' , 'triggers': [{ 'level' : 'info', 'trigger' : '50000'}, { 'level' : 'critical', 'trigger' : '20000'}, ], }, ], }
The MyInnoTbSpc entity checks available table space in an MySQL InnoDB database. The Entity logs in to the specified host using the configured credentials and issues the SQL command SHOW TABLE STATUS.
This agent is different from the InnoTbSpc entity by using a Python module to access the database, as opposed to running the mysql command. InnoTbSpc can also query the size of a specific table rather than viewing all of the tables on the system.
This Entity requires the MySQL client and the MySQL Python module be installed on the Agent.
Fields
Name of the database to connect to.
User name to provide when logging into the database.
Password to provide when logging into the database.
Database host to connect to. If this field is omitted then the Entity defaults to connecting to localhost.