Galera provides a set of status variables, which can be used to monitor the status of each node. Like Galera server variables, each status variable starts with the
'wsrep_' prefix. This allows visualizing all the variables easily with the following query:
SHOW STATUS LIKE 'wsrep%';
There are at least two ways to automate the monitoring of MariaDB Galera Cluster:
wsrep_notify_cmd server variable can be set ...