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

Fix incorrect smartctl mode for scsi drives

Open GunArm opened this issue 2 years ago • 0 comments

smartctl -A makes sense for sata drives since it gets the block of numbered attributes parse_smartctl_attributes expects. For scsi drives -A gives too little information and even excludes half of the fields parse_smartctl_scsi_attributes explicitly is trying to pull out. Passing lowercase -a fixes this

Signed-off-by: GunArm [email protected]

GunArm avatar Aug 06 '22 11:08 GunArm