Currently, if the older versions of smartctl are installed, the regexes for enabled and supported do not work.
The old output looks like:
smartctl 5.43 2012-06-30 r3573 [x86_64-linux-2.6.32-573.12.1.el6.x86_64] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net
Vendor: HP
Product: LOGICAL VOLUME
Revision: 4.52
User Capacity: 299,966,445,568 bytes [299 GB]
Logical block size: 512 bytes
Logical Unit id: <REDACTED>
Serial number: <REDACTED>
Device type: disk
Local Time is: Fri Aug 25 12:56:01 2017 AEST
Device supports SMART and is Enabled
Temperature Warning Disabled or Not Supported
Currently, if the older versions of smartctl are installed, the regexes for enabled and supported do not work.
The old output looks like: