MySQL Slave SQL thread not running critical
MySQL Slave SQL thread not running on {{ $labels.instance }}
>>>
(
and ON (instance)
> 0) == 0
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