[Nagiosplug-devel] [ nagiosplug-Patches-3428117 ] check_ide_smart: fix smart attribute comparison
SourceForge.net
noreply at sourceforge.net
Fri Mar 30 15:02:08 CEST 2012
Patches item #3428117, was opened at 2011-10-25 02:22
Message generated for change (Comment added) made by oernii
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=3428117&group_id=29880
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Bugfix
Group: release-1.4.15
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Tilmann Bubeck (bubeck)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_ide_smart: fix smart attribute comparison
Initial Comment:
Each S.M.A.R.T. attribute is compared against a threshold. If it is LESSTHAN that threshold an error is reported.
This patch fixes the problem, that attribute values EQUAL to the threshold are reported as error, which is wrong. Only LESSTHAN the threshold is an error.
For more information see: http://www.hdsentinel.com/smart/index.php
My SSD has some attributes which value and threshold are "0". Without the patch this is reported as errornous.
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
...
172 Unknown_Attribute 0x0032 000 000 000 Old_age Always - 0
174 Unknown_Attribute 0x0030 000 000 000 Old_age Offline - 13
177 Wear_Leveling_Count 0x0000 000 000 000 Old_age Offline - 0
...
----------------------------------------------------------------------
Comment By: Ernest Beinrohr (oernii)
Date: 2012-03-30 06:02
Message:
thank you, this works on my SSDs. Without it I get 10 false errors. Would
be nice if merged.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=3428117&group_id=29880
More information about the Devel
mailing list