Maria Cluster Connections by Members Test

The Maria Cluster Connections by Members Test monitors the status and usage of client connections to the MariaDB cluster. It helps administrators track active and failed connections, detect connection aborts, and ensure that the maximum connection limits are not exceeded. By providing insights into connection usage trends and failures, this test enables proactive troubleshooting of connection issues, prevents resource exhaustion, and ensures optimal availability and performance of the database cluster.

Target of the test : A MariaDB Cluster

Agent deploying the test : An external agent

Outputs of the test : One set of results for each node on the MariaDB Cluster being monitored.

Configurable parameters for the test
Parameter Description

Test Period

How often should the test be executed.

Host

The IP address of the MariaDB Cluster.

Port

The port on which the server is listening. By default, this is set to 3306.

Database

Specify the name of the database that is to be monitored on the target MariaDB Cluster.

User and Password

The eG agent has to be configured with the credentials of a user who has server-wide PROCESS and SELECT privileges on the monitored Maria Cluster Database server. To know how to create such a user, refer to Configuring the eG Agent with Access Privileges section.

Confirm Password

Confirm the Password (if any) by retyping it here.

SSL

This indicates that the eG agent will communicate with theMaria cluster via HTTPS or not. By default, this flag is set to No, as the target Maria database is not SSL-enabled by default. If the target cluster is SSL-enabled, then set this flag to Yes.

Verify CA

If the eG agent is required to establish an encrypted connection with the target MariaDB Cluster by authenticating the server's identity through verifying the server CA certificate, set Verify CA flag to Yes. By default, this flag is set to No.

Available Nodes

In the Available Nodes text box, provide a comma-separated list of all the available nodes to be included for monitoring. This way, the test monitor and collect metrics from all the available nodes in the cluster. By default, this parameter is set to none. The format of this configuration is: HOSTNAME:PORT, for example, 172.16.8.136:3306,172.16.8.139:3306

Detailed Diagnosis

To make diagnosis more efficient and accurate, the eG Enterprise 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 for a particular server, choose the On option. 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 normal and abnormal frequencies configured for the detailed diagnosis measures should not be 0.
Measurements made by the test
Measurement Description Measurement Unit Interpretation

Connections created

Indicates the rate at which applications attempted to connect to this node during the last measurement period.

Connections/Sec

For the summary descriptor, this measure indicates the rate at which applications attempted to connect to the cluster.

Opened connections

Indicates the number of currently open connections to this node.

Number

A high value may be indicative of connections not being closed properly by applications, or a bottleneck in the server.

For the summary descriptor, this measure indicates number of currently open connections on this cluster.

Connection aborts

Indicates the number of connections that were aborted because the client terminated without closing the connection properly on this node during the last measurement period.

Number

For the summary descriptor, this measure indicates number of connections that were aborted because the client terminated without closing the connection properly on this cluster.

Failed connections

Indicates the number of connection attempts to this node that failed during the last measurement period.

Number

A high value can indicate:

  • a configuration problem with the server/clients;

  • some malicious attack on the server;

For the summary descriptor, this measure indicates number of connection attempts to this cluster that failed.

Maximum connections

Indicates the maximum number of connections that were simultaneously in use on this node during the last measurement period.

Number

For the summary descriptor, this measure indicates maximum number of connections that were simultaneously in use on this cluster.

Maximum Connection limit

Indicates the maximum number of connections that can be opened on this node.

Number

This measure is not reported for the Summary descriptor.

Connection usage

Indicates the percentage utilization of the connections on this node.

Percent

This measure is not reported for the Summary descriptor.