Skip to content

Releases: Napsty/check_smart

6.9.1

08 Apr 08:00
3d96f00
Compare
Choose a tag to compare

This is a security-release
Fixes the regular expression for pseudo-devices under the /dev/bus/N path.

6.9.0

04 Mar 06:53
425caa7
Compare
Choose a tag to compare

Allows using PCI device paths as device name(s) (#64)
Introduce new optional parameter -l/--ssd-lifetime) which additionally checks SMART attribute "Percent_Lifetime_Remain" (available on some SSD drives). (#66 #67)

6.8.0

14 Oct 14:11
7215b65
Compare
Choose a tag to compare
  • Allow skip self-assessment check (--skip-self-assessment)
  • Add Command_Timeout to default raw list

6.7.1

02 Jun 12:37
bb15436
Compare
Choose a tag to compare

Bugfix to make --warn work (issue #54)

6.7.0

25 Mar 12:57
b620a03
Compare
Choose a tag to compare

Added support for NVMe drives

6.6.1

04 Dec 06:42
Compare
Choose a tag to compare

Fix 'deprecation warning on regex with curly brackets' (6.6.1)

6.6.0

29 Nov 12:41
6199f89
Compare
Choose a tag to compare

The feature was requested in #30 . This PR adds the possibility to use 3ware,N and cciss,N drives in combination with the global -g parameter.

Furthermore this PR adjusts the output of the plugin when the -g is used in combination with hardware raid controllers. Instead of showing the logical device name (/dev/sda for example), the plugin will now show the controller with drive number:

# ./check_smart.pl -g /dev/sda -i 'cciss,[1-3]'
OK: [cciss,1] - Device is clean --- [cciss,2] - Device is clean --- [cciss,3] - Device is clean|

6.5.0

22 Nov 14:09
c49b54d
Compare
Choose a tag to compare

Add Reported_Uncorrect and Reallocated_Event_Count to default raw list.
As of 6.5 the following SMART attributes are by default checked and may result in alert when threshold (default 0 is reached):

'Current_Pending_Sector,Reallocated_Sector_Ct,Program_Fail_Cnt_Total,Uncorrectable_Error_Cnt,Offline_Uncorrectable,Runtime_Bad_Block,Reported_Uncorrect,Reallocated_Event_Count'

6.4.0

29 Oct 09:11
a775bfe
Compare
Choose a tag to compare

Added -q / --quiet parameter.
When multiple drives are checked using the -g parameter, all drives appear in the output (no matter the state). Using the additional -q parameter will only show the drives with failing drives and omit the drives in OK state.

Furthermore the dependency on the Perl module utils.pm (coming from either monitoring-plugins-common or nagios-plugins-common packages) was removed. Only very few functions from this module were actually used and these were very basic. It makes more sense here to be a fully standalone plugin.

6.3.0

01 Oct 11:59
4fdd5fa
Compare
Choose a tag to compare

Added -E parameter to completely exclude a SMART attribute, including performance data.
-e excludes checks/alerts but still adds data to performance data.
Note: -e and -E can co-exist.