Rework attributes

This commit is contained in:
Andrea Mazzoleni 2025-12-21 22:46:21 +01:00
parent 0367b2810a
commit ea53954b41
8 changed files with 44 additions and 26 deletions

View file

@ -1472,13 +1472,13 @@ The disk\'s serial number (escaped).
.PD
.RE
.TP
.B attr:<device_file>:<disk_name>[/<split_number>]:vendor:<vendor>
Logs the disk\'s vendor string.
.B attr:<device_file>:<disk_name>[/<split_number>]:family:<family>
Logs the disk\'s model family string.
.RS 4
.PD 0
.HP 4
.I <vendor>
The disk\'s vendor identifier (escaped).
.I <family>
The disk\'s vendor and model family identifier (escaped).
.PD
.RE
.TP
@ -1530,12 +1530,16 @@ The total error count (uint64).
.RE
.TP
.B attr:<device_file>:<disk_name>[/<split_number>]:rotationrate:<rate>
Logs the disk\'s rotation rate. A value of 0 indicates an SSD.
Logs the disk\'s rotation rate.
.RS 4
.PD 0
.HP 4
.I <rate>
The rotation rate (uint64, RPM).
The rotation rate. A value of 0 indicates a
solid\-state drive (SSD) or other non\-rotating medium.
A value of 1 indicates a rotational disk of unknown
precise speed. Values greater than 1 indicate the
rotational speed in RPM.
.PD
.RE
.TP

View file

@ -942,10 +942,10 @@ Command Smart Tags
<serial_number> - The disk's serial number (escaped).
=attr:<device_file>:<disk_name>[/<split_number>]:vendor:<vendor>
Logs the disk's vendor string.
=attr:<device_file>:<disk_name>[/<split_number>]:family:<family>
Logs the disk's model family string.
<vendor> - The disk's vendor identifier (escaped).
<family> - The disk's vendor and model family identifier (escaped).
=attr:<device_file>:<disk_name>[/<split_number>]:model:<model>
Logs the disk's model string.
@ -973,9 +973,13 @@ Command Smart Tags
<error_count> - The total error count (uint64).
=attr:<device_file>:<disk_name>[/<split_number>]:rotationrate:<rate>
Logs the disk's rotation rate. A value of 0 indicates an SSD.
Logs the disk's rotation rate.
<rate> - The rotation rate (uint64, RPM).
<rate> - The rotation rate. A value of 0 indicates a
solid-state drive (SSD) or other non-rotating medium.
A value of 1 indicates a rotational disk of unknown
precise speed. Values greater than 1 indicate the
rotational speed in RPM.
=attr:<device_file>:<disk_name>[/<split_number>]:flags:<flags_decimal>:<flags_hex>
Logs the SMART status flags from the `smartctl` utility.

View file

@ -984,10 +984,10 @@ Tags logging specific disk identification and attribute values.
<serial_number> - The disk's serial number (escaped).
attr:<device_file>:<disk_name>[/<split_number>]:vendor:<vendor>
Logs the disk's vendor string.
attr:<device_file>:<disk_name>[/<split_number>]:family:<family>
Logs the disk's model family string.
<vendor> - The disk's vendor identifier (escaped).
<family> - The disk's vendor and model family identifier (escaped).
attr:<device_file>:<disk_name>[/<split_number>]:model:<model>
Logs the disk's model string.
@ -1015,9 +1015,13 @@ Tags logging specific disk identification and attribute values.
<error_count> - The total error count (uint64).
attr:<device_file>:<disk_name>[/<split_number>]:rotationrate:<rate>
Logs the disk's rotation rate. A value of 0 indicates an SSD.
Logs the disk's rotation rate.
<rate> - The rotation rate (uint64, RPM).
<rate> - The rotation rate. A value of 0 indicates a
solid-state drive (SSD) or other non-rotating medium.
A value of 1 indicates a rotational disk of unknown
precise speed. Values greater than 1 indicate the
rotational speed in RPM.
attr:<device_file>:<disk_name>[/<split_number>]:flags:<flags_decimal>:<flags_hex>
Logs the SMART status flags from the `smartctl` utility.