check_smart 6.5 available: Default attribute raw list defined

Written by - 0 comments

Published on - Listed in Monitoring Hardware


A new version of the monitoring plugin check_smart, a perl script to monitor S.M.A.R.T. values of hard and solid states drives, is available!

The new version 6.5 now defines the following SMART attributes by default:

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

Two new attributes were added compared to the previous release: Reported_Uncorrect and Reallocated_Event_Count. The definition of the default raw list was discussed publicly on issue 36.

All these attributes are now checked by default against the thresholds (default: 0). Remember, you can set thresholds on a per attribute basis. For example when one attribute shows a warning, you can increase the threshold for that attribute using the -w parameter:

$ sudo ./check_smart.pl -d /dev/sdc -i ata
WARNING: Drive  ADATA SSD S510 120GB S/N XXX:  Reallocated_Event_Count is non-zero (1)|Raw_Read_Error_Rate=0 Retired_Block_Count=1 Power_On_Hours_and_Msec=181 Power_Cycle_Count=652 Program_Fail_Count=0 Erase_Fail_Count=0 Unexpect_Power_Loss_Ct=77 Wear_Range_Delta=1 Program_Fail_Count=0 Erase_Fail_Count=0 Reported_Uncorrect=0 Temperature_Celsius=30 ECC_Uncorr_Error_Count=0 Reallocated_Event_Count=1 Unc_Soft_Read_Err_Rate=0 Soft_ECC_Correct_Rate=0 Life_Curve_Status=100 SSD_Life_Left=0 SandForce_Internal=2516 SandForce_Internal=2838 Lifetime_Writes_GiB=2838 Lifetime_Reads_GiB=3223

$ sudo ./check_smart.pl -d /dev/sdc -i ata -w Reallocated_Event_Count=2
OK: Drive  ADATA SSD S510 120GB S/N XXX: no SMART errors detected.  Reallocated_Event_Count is non-zero (1) (but less than threshold 2)|Raw_Read_Error_Rate=0 Retired_Block_Count=1 Power_On_Hours_and_Msec=181 Power_Cycle_Count=652 Program_Fail_Count=0 Erase_Fail_Count=0 Unexpect_Power_Loss_Ct=77 Wear_Range_Delta=1 Program_Fail_Count=0 Erase_Fail_Count=0 Reported_Uncorrect=0 Temperature_Celsius=30 ECC_Uncorr_Error_Count=0 Reallocated_Event_Count=1 Unc_Soft_Read_Err_Rate=0 Soft_ECC_Correct_Rate=0 Life_Curve_Status=100 SSD_Life_Left=0 SandForce_Internal=2516 SandForce_Internal=2838 Lifetime_Writes_GiB=2838 Lifetime_Reads_GiB=3223

If you don't like the default attribute list you can completely rewrite the "raw list" which attributes should be checked for thresholds. Use the -r parameter to define your own list which attributes should be checked for their raw values:

$ sudo ./check_smart.pl -d /dev/sdc -i ata -r 'Reported_Uncorrect,Uncorrectable_Error_Cnt'
OK: Drive  ADATA SSD S510 120GB S/N XXX: no SMART errors detected. |Raw_Read_Error_Rate=0 Retired_Block_Count=1 Power_On_Hours_and_Msec=181 Power_Cycle_Count=652 Program_Fail_Count=0 Erase_Fail_Count=0 Unexpect_Power_Loss_Ct=77 Wear_Range_Delta=1 Program_Fail_Count=0 Erase_Fail_Count=0 Reported_Uncorrect=0 Temperature_Celsius=30 ECC_Uncorr_Error_Count=0 Reallocated_Event_Count=1 Unc_Soft_Read_Err_Rate=0 Soft_ECC_Correct_Rate=0 Life_Curve_Status=100 SSD_Life_Left=0 SandForce_Internal=2516 SandForce_Internal=2838 Lifetime_Writes_GiB=2838 Lifetime_Reads_GiB=3223



Add a comment

Show form to leave a comment

Comments (newest first)

No comments yet.