PANTAW COLLECTOR · STORAGE
smart collector
Collect bounded disk health facts from smartctl JSON.
Source and collected facts
A fixed smartctl -j -a command per validated block-device name through the shared command helper.
- device and model
- overall SMART pass state
- temperature
- power-on hours
Observation contract
Usable SMART JSON produces SUCCESS or PARTIAL depending on completeness; missing tools, denied access, timeouts or unusable data produce UNAVAILABLE or PARTIAL with bounded diagnostics.
Relevant ReasonCode values: SMART_OBSERVED, SMART_PARTIAL, INTERNAL_ERROR
All collectors use structured ObservationStatus values and retain unavailable optional fields explicitly.
Graceful unavailability and limits
Requires smartctl. USB bridges, virtual disks and controller passthrough may hide or alter telemetry.
Permissions and privacy
Permissions. Device access often requires an explicit udev rule, capability or narrowly scoped privilege.
Privacy. Disk model and lifetime data can be sensitive; unrestricted smartctl output and serials are not retained in the snapshot.
Sanitized example
{
"source": "smart",
"status": "SUCCESS",
"severity": "INFO",
"reason_code": "SMART_OBSERVED",
"target": "device:sda",
"metadata": {"model_name":"Example SSD","smart_passed":true,"temperature_celsius":35,"power_on_hours":1200}
}Synthetic example. It is not production node data.