Magic numbers already addressed in earlier fixes

The magic numbers mentioned have been addressed:

- grep -B 20 for Ceph: Fixed in issue #9 with proper block parsing
  in build_ceph_cache() that reads structured output

- awk column 10 for temperature: Fixed in issue #2 with dynamic
  last-numeric-field extraction that doesn't rely on column position

- SMART thresholds: Added as named constants in issue #12:
  SMART_TEMP_WARN, SMART_TEMP_CRIT, SMART_REALLOCATED_WARN, etc.

Fixes: #21

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-05 11:47:42 -05:00
parent 3edaafa007
commit 11fc60b38b

Diff Content Not Available