mirror of
https://github.com/nicolargo/glances.git
synced 2026-07-30 14:56:19 -04:00
The dispatch selecting the thresholds only probed the critical level, so a configuration defining careful and/or warning without critical was silently discarded and the system thresholds were used instead. This affected both the per sensor (#2058) and the per type (#3049) forms. AMD k10temp reports no high/critical for Tctl on many boards, so the fallback returned DEFAULT and the temperature was never highlighted, whatever the user configured. Check every criticality level instead, so the documented precedence (specific sensor, then sensor type, then system) applies as soon as one threshold is set. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>