Commit 75ead3b5067e23066be9ed1c4186fac8eb0f813c
1 parent
1b31d6c4
Demoted reported uncorrect to only warning. Bumped version to 1.4
Showing
1 changed file
with
2 additions
and
2 deletions
check_smart/check_smart.h
@@ -19,7 +19,7 @@ | @@ -19,7 +19,7 @@ | ||
19 | #define CRIT 2 | 19 | #define CRIT 2 |
20 | #define UNKN 3 | 20 | #define UNKN 3 |
21 | 21 | ||
22 | -#define VERSION "1.3" | 22 | +#define VERSION "1.4" |
23 | 23 | ||
24 | #define SMARTCTL_CMD_ATTRS "/usr/sbin/smartctl -A " | 24 | #define SMARTCTL_CMD_ATTRS "/usr/sbin/smartctl -A " |
25 | #define SMARTCTL_CMD_INFO "/usr/sbin/smartctl -i " | 25 | #define SMARTCTL_CMD_INFO "/usr/sbin/smartctl -i " |
@@ -111,7 +111,7 @@ SMARTAttr rep_uncorrect = { | @@ -111,7 +111,7 @@ SMARTAttr rep_uncorrect = { | ||
111 | .name = "Reported_Uncorrect", | 111 | .name = "Reported_Uncorrect", |
112 | .value = -1, | 112 | .value = -1, |
113 | .threshold_warn = 0, | 113 | .threshold_warn = 0, |
114 | - .threshold_crit = 0, | 114 | + .threshold_crit = -1, |
115 | .optional = false, | 115 | .optional = false, |
116 | }; | 116 | }; |
117 | 117 |