Agents Administration - Tests
 

Default Parameters for MySQLRpStsTest

In a high availability environment, the replica servers should always be in sync with the master database instance. For this, the replication should always be enabled on the master and the replica servers should be connected to the master at all times. If the replication fails even for a brief period or if the replica servers are not connected to the master, the replica servers will not have the updated data. To avoid this, it is essential to monitor the replication status of the master MySQL database instance. The MySQLRpStsTest test helps administrators in this regard!

This test reports whether/not the replication process is enabled on the target database instance and also helps administrators figure out if the target database instance is the master or not. Additionally, this test reports the count of slaves/replica servers connected to the target database instance and the current uptime of the database instance.

This page depicts the default parameters that need to be configured for the MySQLRpStsTest.

  • The TEST PERIOD list box helps the user to choose how often should the test be executed.

  • In the DATABASE text box, 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 Configuring the eG Agent with Access Privileges topic in the Monitoring MySQL Server document.

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

  • Once the above values are provided, click on the UPDATE button to register the changes made.

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.