The MySQL cartridge provides a comprehensive set of preconfigured rules designed to monitor various aspects of MySQL server performance and health. You can modify these rules, including changing default threshold values.
This section describes the following rules:
Alert if the number of authentication errors exceed a defined threshold as a percentage of total connection attempts.
Alert if a connection to the MySQL database cannot be established.
Alert if the percentage of successful connections to the MySQL Server is too low (Fatal: 95%, Warning: 98%, Informational: 99%).
Alert if non-authentication errors exceed a defined threshold as a percentage of total connection attempts.
Alert if it is taking a long time to connect (Fatal: 10 seconds, Warning: 2 seconds, Informational: 1 second).
Alert if the number of connections currently in use for a MySQL server is too high as a percentage of the maximum connections allowed.
Alert if not all nodes in the Galera cluster are available.
Alert if the MySQL server is disconnected from the Galera cluster.
Alert if the average EVS latency has been too high (Fatal: 5 seconds, Warning: 2.5 seconds, Informational: 1 second).
Alert if the percentage of time flow control has been paused on the MySQL server has been too high recently (Fatal: 50%, Warning: 35%, Informational: 25%).
Alert if the MySQL server has not been ready to accept queries recently.
Alert if the average size of the Galera received queue on the MySQL server has been too high.
Alert if the average size of the Galera send queue on the MySQL server has been too high.
Alerts when at least one node is down with increasing severity when cluster stability is in jeopardy.
Alert if a transaction has been waiting for a long time to complete.
Alert if there are too many active queries.
Alert if the average wait time for an instance of a statement is high compared to its previous average.
Alert if the percentage of compression failures for a given page size is too high (Fatal: 95%, Warning: 98%, Informational: 99% successful compression operations).
Alert if the percentage of compression failures for an index is too high (Fatal: 95%, Warning: 98%, Informational: 99% successful compression operations).
Alert if any query sort operations are exhibiting inefficient behavior (Fatal: 2 ratio of merge passes, Warning: 1 ratio).
Alert on any long running queries (Warning: 30 seconds query is waiting).
Alert on queries waiting for a long time on a table lock.
Alert if the average execution time for queries written to the slow query log is too long (Fatal: 7.5 seconds, Warning: 5 seconds, Informational: 2.5 seconds).
Alert if the maximum execution time for queries written to the slow query log is too long (Fatal: 10 seconds, Warning: 7.5 seconds, Informational: 5 seconds).
Alert if the MySQL server does not appear to be using indexes efficiently (Fatal: 40 table scans, Warning: 20, Informational: 10).
Alert if the Transaction Purge Lag is too high (Fatal: 1,500,000 transactions waiting, Warning: 1,000,000).
Alert if percentage of entries in the log buffer waiting to be flushed to disk is too high (Fatal: 50%, Warning: 30%).
Alert if a replication slave is falling behind the master (Fatal: 30, Warning: 15, Informational: 5).
Alert if the Replica I/O State for the MySQL server is either reconnecting or waiting to reconnect after a disconnection event.
Alert if the Replica I/O Thread for a channel is not running.
Alert if the Replica SQL Thread for a channel is not running.
Alert if a replication slave is unreachable by the Foglight Agent.
Alert if a replication server is either reconnecting or waiting to reconnect after a disconnection event.
Alert if the Slave IO Thread for a Replication Slave server is either not running or not connected to a replication master.
Alert if the Slave SQL Thread for a Replication Slave server is not running.
Alert if the SlaveIOState for the MySQL server is either reconnecting or waiting to reconnect after a disconnection event.
Alert if the Slave IO Thread for the MySQL server is either not running or not connected to a replication master.
Alert if the Slave SQL Thread for a Slave server is not running.
Alert if the database server’s host will run out of disk space soon given the current database growth rate (Fatal: 15 days, Warning: 30 days, Informational: 60 days until storage is full).
Alert if the amount of tablespace left in an InnoDB database that does not have auto extend enabled is low (Fatal: 4MB remaining, Warning: 8MB remaining).
Alert if the amount of tablespace left in an InnoDB database that does not have auto extend enabled is low.
Purges alarms from Tablespace Utilization - Basic Table Collection if they have not been re-triggered in 4 hours.
Alert if the InnoDB Buffer Pool hit rate is too low.
Alert if the key buffer hit rate is too low.
Alert if the query cache hit rate is too low.
Alert if there are any query cache low memory prunes.
Alert if the Thread Pool hit rate is too low.