summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/t
diff options
context:
space:
mode:
authorTilmann Bubeck <t.bubeck@reinform.de>2011-10-25 00:00:00 (GMT)
committerThomas Guyot-Sionnest <dermoth@aei.ca>2014-01-23 13:56:53 (GMT)
commitc4a99b023d03326ad49e03c8731eec19d19a75bf (patch)
treee9fd69bd789620824156e6f6f9487e1832c3a9d6 /plugins-scripts/t
parent49ae05ff1ce79a1b76e05128b85dbb1e944099ea (diff)
downloadmonitoring-plugins-c4a99b023d03326ad49e03c8731eec19d19a75bf.tar.gz
fix smart attribute comparison
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 ... See also: * http://sourceforge.net/p/nagiosplug/patches/365/ * https://bugzilla.redhat.com/913085
Diffstat (limited to 'plugins-scripts/t')
0 files changed, 0 insertions, 0 deletions