Pulse/internal/smartctl
rcourtman 47ceffe0c2 fix(smart): parse raw.string instead of raw.value for SATA attributes (#1239)
Seagate drives pack vendor-specific data in the upper bytes of the
48-bit SMART raw value, causing Power_On_Hours to report billions of
years instead of the actual value. Use smartctl's raw.string field
(e.g. "16951 (223 173 0)") and extract the first integer, which is
the correct interpretation. Falls back to raw.value when the string
is empty or non-numeric.
2026-02-10 20:42:15 +00:00
..
collector.go fix(smart): parse raw.string instead of raw.value for SATA attributes (#1239) 2026-02-10 20:42:15 +00:00
collector_coverage_test.go feat(agent): add FreeBSD S.M.A.R.T. disk collection support (#1236) 2026-02-10 12:44:15 +00:00
collector_test.go fix(smart): parse raw.string instead of raw.value for SATA attributes (#1239) 2026-02-10 20:42:15 +00:00