[Nagiosplug-devel] [ nagiosplug-Patches-3428117 ] check_ide_smart: fix smart attribute comparison
SourceForge.net
noreply at sourceforge.net
Tue Oct 25 11:22:44 CEST 2011
Patches item #3428117, was opened at 2011-10-25 09:22
Message generated for change (Tracker Item Submitted) made by bubeck
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
...
----------------------------------------------------------------------
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