SMART device temperature warning
warning

Description Device temperature warning on {{ $labels.instance }} drive {{ $labels.device }} over 60°C
Query
>>>
	
				
					(
				
			
				
					
					
						avg_over_time
					
				
			
				
					(
				
			
				
					
				
			
				
					{temperature_type="current"} [5m]) unless on (instance, device) 
				
			
				
					
				
			
				
					{temperature_type="drive_trip"}) > 60
				
			
    
Query Explanation

The rule calculates the 5‑minute average of the smartctl_device_temperature metric with temperature_type="current" for each instance and device. If that average exceeds 60 °C and there is no smartctl_device_temperature{temperature_type="drive_trip"} sample for the same instance/device, the alert triggers.

Get Alert
Download
Copy to Clipboard