Replica count


Job details

Name: Replica count
Platform: Mariadb
Category: Cluster and Replication
Description: This job collects the number of bytes received and sent from from other Galera Cluster nodes.
Long description:
Version: 1.5
Default schedule: 60s
Requires engine install: No
Compatibility tag: .[type=‘instance’ & databasetype=‘mariadb’]/instance[is_mariadb_branch=‘1′]

Parameters

Name Default value Description
min_slave_hosts 0 The minimum number of slave hosts (replicas) registered with the source host.
return_status 1 Return status value (ALARM – 2, WARNING – 1, or OK – 0) when the number of slave hosts (replicas) registered with the source is less than min_slave_hosts parameter value.

Job Summary

SHOW SLAVE STATUS;

Job Details

Job Execution Environment

Job Configuration and Script Details

The job involves several technical components:

Report Template

Data Columns

Column Name SQL Type Description
Details Integer Displays the number of registered replicas and status messages

Additional Output

This monitoring job provides a crucial function in managing replication in MariaDB environments, ensuring consistent replication and flagging potential issues with replica count that might affect database performance and reliability.