WSREP status variables to watch for Cluster Health?

My cluster recently experienced a problem where the 3 nodes in my cluster became unsynced. To catch this problem as soon as possible in the future, which WSREP status variables can I monitor to ensure the cluster nodes are in sync? Any other status variables to watch for general health you can recommend would also be appreciated.

Thank you.

1 Like

https://galeracluster.com/library/documentation/monitoring-cluster.html

wsrep_cluster_conf_id - if this number changes, it means the cluster’s configuration changed.
wsrep_cluster_status - Cluster is in Primary or non-P state.
wsrep_ready - whether the node can accept queries
wsrep_local_state_comment - node state in a human readable format

1 Like