New warning detection for concerning SMART values: - Temperature: Warning at 50°C, Critical at 60°C - Reallocated sectors: Warning at >= 1 - Pending sectors: Warning at >= 1 - UDMA CRC errors: Warning at >= 100 - Power-on hours: Warning at >= 43800 (5 years) Health indicator now shows ⚠ when SMART passed but has warnings. Added WARNINGS column to output showing codes like: TEMP_WARN, TEMP_CRIT, REALLOC:5, PENDING:2, CRC:150, HOURS:50000 Thresholds are configurable via constants at top of script. Fixes: #12 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
37 KiB
37 KiB