Releases: Napsty/check_smart
6.9.1
6.9.0
6.8.0
6.7.1
6.7.0
6.6.1
6.6.0
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
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
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.