I am very excited about SMART reporting in v1.5 ( #1880 ), but judging by the docs I don’t think that plugin is going to allow me to monitor the health of my older RAID arrays because they don’t get along with smartmontools.
user@server:~$ sudo smartctl --info --attributes --health --format=brief /dev/sdb -d 3ware,0
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-72-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
Read Device Identity failed: Input/output error
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
user@server:~$ sudo smartctl --info --attributes --health --format=brief /dev/sda -d 3ware,0
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-72-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Device Model: [No Information Found]
Serial Number: [No Information Found]
Firmware Version: [No Information Found]
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: [No Information Found]
Local Time is: Tue Oct 24 14:24:08 2017 EDT
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART supported.
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 85-87 don't show if SMART is enabled.
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
For now I’ll be implementing an exec to grep the outputs of tw_cli
and MegaRaid
, but I could roll this into a plugin instead. Would anyone else make use of this?