For the complete documentation index, see llms.txt. This page is also available as Markdown.

Add a Database without MaxScale

Register a standalone MariaDB Server, or a primary/replica or Galera topology without MaxScale, in Enterprise Manager and link the monitoring agent on each server.

Use this method for a single MariaDB Server or to manually define a Primary/Replica or Galera cluster.

1

Prepare your server(s)

First, perform these actions on each MariaDB Server you plan to add.

  1. Install the Agent package.

# For Red Hat/CentOS/Rocky
sudo dnf install -y mema-agent
# For Debian/Ubuntu
sudo apt install -y mema-agent
# For SLES
sudo zypper install -y mema-agent
  1. Create the Enterprise Manager user (allows the Enterprise Manager server to connect remotely):

CREATE USER 'monitor'@'<Enterprise_Manager_IP>' IDENTIFIED BY '<password>';
GRANT REPLICA MONITOR ON *.* TO 'monitor'@'<Enterprise_Manager_IP>';

Replace <Enterprise_Manager_IP> with the IP of your Enterprise Manager server and <password> with a secure password.

  1. Create the Local Agent user (required for the agent to collect detailed metrics from the local database instance):

CREATE USER 'monitor'@'localhost' IDENTIFIED BY '<password>';
GRANT PROCESS, BINLOG MONITOR, REPLICA MONITOR, REPLICATION MASTER ADMIN ON *.* TO 'monitor'@'localhost';

Replace <password> with a secure password.

2

Register in the UI

  1. Go to your MariaDB Enterprise Manager web interface (for example https://<Enterprise_Manager_IP>:8090).

  2. Log in with user who has edit permission.

  3. Begin the Add Database process:

    • If this is your first time and no databases are present, you'll be on the "Add Database" screen automatically.

    • If you already have other databases, click the + Add Database button.

  4. Ensure the Database without MaxScale option is selected.

  5. Fill in the connection details for your first server using the Enterprise Manager User ('monitor'@'<Enterprise_Manager_IP>').

3

Standalone server or a Topology

To add a Standalone Server: Click Add and proceed to the next step (4).

To create a Topology:

  1. Click the Plus icon (+) to add another server.

  2. Fill in the connection details for the second server in your topology and click Confirm. Repeat for all nodes in your topology.

  3. Once all nodes are added, select the Topology Type (e.g., Primary/Replica — default — or Galera Cluster) and click Confirm.

To convert an existing standalone server into a topology of multiple servers: click the three-dot menu (⋮) next to the server, choose Edit, and click the Plus icon (+). Then follow the same steps to add nodes.

4

Link the Agent(s) 🔗

For each server added, link its agent:

  1. Find the server in the inventory list, click the three-dot menu (⋮), and select Metrics configuration. You need the admin role.

  2. Enter the credentials for the Local Agent User ('monitor'@'localhost') to generate a setup command.

  3. Copy the command and run it on that server's terminal to link the agent.

This page is: Copyright © 2026 MariaDB. All rights reserved.

spinner

Last updated

Was this helpful?