monitoring-plugins/plugins
Tilmann Bubeck c4a99b023d 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
2014-01-23 08:56:53 -05:00
..
t Merge branch 'maint' 2014-01-21 16:07:38 +01:00
tests New default installation prefix: /usr/local 2014-01-21 13:17:36 +01:00
check_apt.c Merge branch 'rename' 2014-01-21 07:59:07 -05:00
check_by_ssh.c Merge branch 'rename' 2014-01-21 07:59:07 -05:00
check_cluster.c Project rename initial commit. 2014-01-19 14:18:47 -05:00
check_dbi.c Merge branch 'rename' 2014-01-21 07:59:07 -05:00
check_dig.c Merge branch 'rename' 2014-01-21 07:59:07 -05:00
check_disk.c Merge branch 'rename' 2014-01-21 07:59:07 -05:00
check_dns.c Merge branch 'rename' 2014-01-21 07:59:07 -05:00
check_dummy.c Capitalize "Monitoring" when it's the first word 2014-01-20 03:12:50 +01:00
check_fping.c Capitalize "Monitoring" when it's the first word 2014-01-20 03:12:50 +01:00
check_game.c Merge branch 'rename' 2014-01-21 07:59:07 -05:00
check_hpjd.c Capitalize "Monitoring" when it's the first word 2014-01-20 03:12:50 +01:00
check_http.c Merge branch 'maint' 2014-01-21 16:07:38 +01:00
check_ide_smart.c fix smart attribute comparison 2014-01-23 08:56:53 -05:00
check_ldap.c Merge branch 'rename' 2014-01-21 07:59:07 -05:00
check_load.c Capitalize "Monitoring" when it's the first word 2014-01-20 03:12:50 +01:00
check_mrtg.c Capitalize "Monitoring" when it's the first word 2014-01-20 03:12:50 +01:00
check_mrtgtraf.c Capitalize "Monitoring" when it's the first word 2014-01-20 03:12:50 +01:00
check_mysql.c Capitalize "Monitoring" when it's the first word 2014-01-20 03:12:50 +01:00
check_mysql_query.c Merge branch 'rename' 2014-01-21 07:59:07 -05:00
check_nagios.c Project rename initial commit. 2014-01-19 14:18:47 -05:00
check_nt.c Capitalize "Monitoring" when it's the first word 2014-01-20 03:12:50 +01:00
check_ntp.c Merge branch 'rename' 2014-01-21 07:59:07 -05:00
check_ntp_peer.c Merge branch 'rename' 2014-01-21 07:59:07 -05:00
check_ntp_time.c Merge branch 'rename' 2014-01-21 07:59:07 -05:00
check_nwstat.c Merge branch 'rename' 2014-01-21 07:59:07 -05:00
check_overcr.c Merge branch 'rename' 2014-01-21 07:59:07 -05:00
check_pgsql.c Merge branch 'rename' 2014-01-21 07:59:07 -05:00
check_ping.c Merge branch 'rename' 2014-01-21 07:59:07 -05:00
check_procs.c Merge branch 'rename' 2014-01-21 07:59:07 -05:00
check_radius.c Merge branch 'rename' 2014-01-21 07:59:07 -05:00
check_real.c Merge branch 'rename' 2014-01-21 07:59:07 -05:00
check_smtp.c Merge branch 'rename' 2014-01-21 07:59:07 -05:00
check_snmp.c Merge branch 'rename' 2014-01-21 07:59:07 -05:00
check_ssh.c Merge branch 'maint' 2014-01-21 16:07:38 +01:00
check_swap.c Capitalize "Monitoring" when it's the first word 2014-01-20 03:12:50 +01:00
check_tcp.c Merge branch 'rename' 2014-01-21 07:59:07 -05:00
check_time.c Merge branch 'rename' 2014-01-21 07:59:07 -05:00
check_ups.c Merge branch 'rename' 2014-01-21 07:59:07 -05:00
check_users.c Capitalize "Monitoring" when it's the first word 2014-01-20 03:12:50 +01:00
common.h Project rename initial commit. 2014-01-19 14:18:47 -05:00
Makefile.am Project rename initial commit. 2014-01-19 14:18:47 -05:00
negate.c Merge branch 'rename' 2014-01-21 07:59:07 -05:00
netutils.c Project rename initial commit. 2014-01-19 14:18:47 -05:00
netutils.h Project rename initial commit. 2014-01-19 14:18:47 -05:00
popen.c Project rename initial commit. 2014-01-19 14:18:47 -05:00
popen.h Removing CVS/SVN tags and replacing with git-based versioning 2008-11-23 05:38:47 +00:00
runcmd.c Project rename initial commit. 2014-01-19 14:18:47 -05:00
runcmd.h Project rename initial commit. 2014-01-19 14:18:47 -05:00
sslutils.c Project rename initial commit. 2014-01-19 14:18:47 -05:00
urlize.c Capitalize "Monitoring" when it's the first word 2014-01-20 03:12:50 +01:00
utils.c Project rename initial commit. 2014-01-19 14:18:47 -05:00
utils.h Remove accidental tabs inserted in macro 2014-01-23 03:06:21 -05:00