node-exporter-textfile-collector-scripts icon indicating copy to clipboard operation
node-exporter-textfile-collector-scripts copied to clipboard

smartmon.py: Collect values from ATA Device Statistics log pages

Open hansmi opened this issue 5 years ago • 1 comments

The ATA Device Statistics can expose additional values on top of those already reported among the SMART attributes. ADATA SP600NS34 SSDs, for example, only report their endurance indicator in the device statistics. TOSHIBA THNSNJ256GMCU, to give another example, only report the number of read/written sectors in the statistics.

The descriptions of the offsets are standardized, see smartmontools' "ataprint.cpp" source file. For this reason the corresponding metrics ("smartmon_devstats_desc") are collected and emitted only once for all disks.

hansmi avatar Oct 15 '20 20:10 hansmi

@SuperQ, would it be possible to get a review on this change?

hansmi avatar Dec 02 '21 20:12 hansmi