Promhub Logo promhub_

MySQLGaleraOutOfSync
warning

Description {{$labels.job}} on {{$labels.instance}} is not in sync ({{$value}} != 4).
Query for 5m
>>>
	
				
					(
				
			
				
					mysql_global_status_wsrep_local_state
				
			
				
					 != 4 and 
				
			
				
					mysql_global_variables_wsrep_desync
				
			
				
					 == 0)
				
			
    
Query Explanation

The alert fires when a MySQL Galera node's wsrep_local_state metric is not equal to 4 (the value for a fully synchronized node) and the wsrep_desync flag is 0 (the node is not intentionally desynced). In this situation the instance is out of sync and the alert is triggered.

Exporters Used

Get Alert✕
Download
Copy to Clipboard