# WSREP status variables to watch for Cluster Health?

**URL:** <https://forums.percona.com/t/wsrep-status-variables-to-watch-for-cluster-health/9641>\
**Category:** Percona XtraDB Cluster\
**Created:** [March 12, 2021, 7:49pm UTC](https://forums.percona.com/t/wsrep-status-variables-to-watch-for-cluster-health/9641 "2021-03-12T19:49:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mwarble](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@mwarble](https://forums.percona.com/u/mwarble)\
**Post date:** [March 12, 2021, 7:49pm UTC](https://forums.percona.com/t/wsrep-status-variables-to-watch-for-cluster-health/9641/1 "2021-03-12T19:49:46Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [March 14, 2021, 12:37pm UTC](https://forums.percona.com/t/wsrep-status-variables-to-watch-for-cluster-health/9641/2 "2021-03-14T12:37:07Z")

</div>

[https://galeracluster.com/library/documentation/monitoring-cluster.html](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
