Agents Administration - Tests
 

Configuration of MySQLSesWaitEvtTest

This test monitors wait events to reveal the events per wait class, and the average wait time experienced by the events of a class. Using the metrics reported by this test, DBAs can isolate the type of wait events that are occurring frequently on the database server, and how long such events last. Since the wait class reveals the source of the frequent wait events, from here, all the administrator needs to do is perform simple sequence of diagnostics to figure out why events of this type recur on the database server.

The default parameters associated with this test are:

  • The TEST PERIOD list box helps the user to decide how often this test needs to be executed.

  • In the HOST text box, specify the HOST for which this test is to be configured.

  • In the PORT text box, specify the port at which the specified HOST listens.

  • In the DATABASE, specify the name of a database on the target MySQL database server being monitored.

  • 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.

  • Confirm the password by retyping it in the CONFIRM PASSWORD text box.

  • By default, the detailed diagnosis of this test, if enabled, will report only the top-10 records. This is why, the DD ROW COUNT parameter is set to 10 by default. If you want to include more or less records in detailed diagnosis, then, change the value of this parameter accordingly.

  • 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.

  • To make diagnosis more efficient and accurate, eG embeds an optional detailed diagnostic capability. With this capability, the eG agents can be configured to run detailed, more elaborate tests as and when specific problems are detected. To enable the detailed diagnosis capability of this test, by default, for a particular server, choose the On option against DETAILED DIAGNOSIS. To disable the capability, click on the Off option.

    The option to selectively enable/disable the detailed diagnosis capability will be available only if the following conditions are fulfilled:

    • The eG manager license should allow the detailed diagnosis capability.

    • Both the bad and normal frequencies configured for the detailed diagnosis measures should not be 0.

  • If multiple components of the same component type are awaiting configuration, then an APPLY TO OTHER COMPONENTS check box will appear in this page. Clicking on this check box will allow you to apply the configuration to all/selected components of that type.

  • Once the necessary values have been provided, clicking on the UPDATE button will register the changes made.

When changing the configuration for specific servers, a “*” beside the text box corresponding to the parameter signifies that these values have to be manually configured by the user. The parameter values that require to be configured will typically be prefixed with a “$” or contain a series of “*”. A value of “none” in the parameter value indicates that the corresponding parameter value can be changed if required.