Add SAS SMART collector for skydick predictive failure metrics
Telegraf's inputs.smart parses the SATA/NVMe attribute table but ignores
the SAS-specific sections of `smartctl -a` output. The 18 SAS HDDs on
skydick were therefore reporting only health/temp, with no visibility
into power-on hours, grown defects, non-medium errors, pending defects,
or read/write uncorrected errors.

New sasSmartScript walks /dev/sd?, filters to SAS drives by transport
protocol, and emits a smart_sas line per device with the predictive
failure fields. Wired into telegraf via inputs.exec at 30m interval.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
1 parent f926857 commit 141fe24ab67cd2ea7a36cca4c3f7fbea977eb079
@Dixiao-L Dixiao-L authored on 7 Apr
Showing 1 changed file
View
modules/monitoring.nix