MySQL Slave SQL thread not running
critical

Description MySQL Slave SQL thread not running on {{ $labels.instance }}
Query
>>>
	
				
					( 
				
			
				
					
				
			
				
					 and ON (instance) 
				
			
				
					
				
			
				
					 > 0) == 0
				
			
    
Query Explanation

The expression checks, per instance, whether the replica’s SQL thread (mysql_slave_status_slave_sql_running) is on and the replica is linked to a master (mysql_slave_status_master_server_id > 0). If the combined result equals 0—meaning the SQL thread is stopped (or no master is set) on a configured slave—the alert fires.

Get Alert
Download
Copy to Clipboard