Log the normalized, worst and threshold value of SMART attributes

This commit is contained in:
Andrea Mazzoleni 2026-02-16 10:47:43 +01:00
parent ae453435f0
commit 2019aa4bb6
9 changed files with 135 additions and 93 deletions

View file

@ -1794,7 +1794,7 @@ The raw flags value (uint, hexadecimal).
.PD
.RE
.TP
.B attr:<device_file>:<disk_name>[/<split_index>]:<id>:<value_decimal>:<value_hex>
.B attr:<device_file>:<disk_name>[/<split_index>]:<id>:<raw_decimal>:<raw_hex>:<norm>:<worst>:<thresh>:<name>
Logs the raw value of any assigned SMART attribute.
.RS 4
.PD 0
@ -1802,11 +1802,23 @@ Logs the raw value of any assigned SMART attribute.
.I <id>
The SMART attribute ID (uint).
.HP 4
.I <value_decimal>
.I <raw_decimal>
The raw attribute value (uint, decimal).
.HP 4
.I <value_hex>
.I <raw_hex>
The raw attribute value (uint, hexadecimal).
.HP 4
.I <norm>
The normalized value (uint).
.HP 4
.I <worst>
The worst value (uint).
.HP 4
.I <thresh>
The threshold value (uint).
.HP 4
.I <name>
Name of the attribute.
.PD
.RE
.TP