|
Default Parameters for MySQLBlockerTest
The MySQLBlockerTest reports the number of root blockers in a database. The detailed diagnosis of this test, provides the details of each of these root blockers. The count and details of sessions blocked by these root blockers are also reported. The maximum time for which the sessions were blocked, and the details of the processes that were blocking them are also revealed.
This page depicts the default parameters that need to be configured for the MySQLBlockerTest.
The eG agent has to be configured with the credentials of a user who has server-wide Process and Select privileges on the monitored MySQL server. Specify the credentials of such a user in the USERNAME and PASSWORD text boxes. To know how to create such a user, refer to Pre-requisites for Monitoring the MySQL Server topic in the Monitoring MySQL Server document.
In the BLOCKED SESSION COUNT text box, specify the minimum number of sessions a process should block for this test to count that process as a root blocker. For instance, if you specify 10 here, it indicates that the NumOfBlockers measure of this test will include only those processes that are blocking 10 or more sessions.
If a process is blocked for or beyond the duration (in seconds) specified in MAX BLOCKING TIME SECONDS, then this test will count that process as a process that has been blocked for a long time. eG Enterprise will then compare the blocked time of all such processes and determine the maximum blocking time. This maximum time value will be reported as the value of the MaxBlockingTime measure. Also, the detailed diagnosis of the NumOfBlockedSessions measure will list only those processes that were blocked for a period beyond the MAX BLOCKING TIME SECS configured. For example, if you specify 120 seconds here, then the detailed diagnosis of the MaxBlockingTime measure will display the details of all processes that were blocked for 2 minutes and above.
By default, SHOW EXPLAIN PLAN parameter is set to No indicating that the detailed diagnosis of this test will not list the detailed query plan of the root blockers. If you wish to view the detailed query plan for each root blocker reported by this test, then, set this flag to Yes.
By default, the target MySQL server being monitored is not SSL-enabled. This indicates that by default, the eG agent communicates with the MySQL server using HTTP. Accordingly, the SSL flag is set to No by default. If you configure the MySQL server to use SSL, then make sure that the SSL flag is set to Yes, so that the eG agent communicates with the MySQL server using HTTPS.
When changing default configurations of tests, the values with “$” indicate variables that will be replaced by the eG system according to the specific server being managed - for instance, $hostName is the host/nickname of the target host, $port is the port number of the server being monitored. E.g., for a server xyz:80, $hostName will be changed automatically by the eG manager to “xyz*” and $port will be changed to “80” when configuring a test.
|