Browse Source

Updated disk database to include correct definition for Re-allocated sector count (see https://github.com/ercpe/smart-check/issues/3)

tags/0.3.2
Johann Schmitz 2 years ago
parent
commit
91f6a0273d
1 changed files with 68 additions and 17 deletions
  1. 68
    17
      smartcheck/disks.yaml

+ 68
- 17
smartcheck/disks.yaml View File

@@ -27,7 +27,10 @@
27 27
 
28 28
 - model: "Crucial_CT1024MX200SSD1"
29 29
   attributes:
30
-    5: ["RAW_VALUE", 10, 20] # Reallocated NAND Block Count
30
+    5: # Reallocated NAND Block Count
31
+      field: "RAW_VALUE"
32
+      warn_threshold: "10:"
33
+      crit_threshold: "20:"
31 34
     171: ["RAW_VALUE", 0, 10] # Program Fail Count
32 35
     172: ["RAW_VALUE", 0, 10] # Erase Fail Count
33 36
     180: # Unused Reserve (Spare) NAND Blocks
@@ -67,7 +70,10 @@
67 70
       field: "VALUE"
68 71
       warn_threshold: ":34"
69 72
       crit_threshold: ":24"
70
-    5: ["RAW_VALUE", 20, 40] # Re-allocated Sector Count
73
+    5: # Re-allocated Sector Count
74
+      field: "RAW_VALUE"
75
+      warn_threshold: "20:"
76
+      crit_threshold: "40:"
71 77
     8: # Seek Time Performance
72 78
       field: "VALUE"
73 79
       warn_threshold: ":30"
@@ -95,7 +101,10 @@
95 101
   - "SSDSC2BA012T401"
96 102
   - "SSDSC2BX016T401"
97 103
   attributes:
98
-    5: ["RAW_VALUE", 20, 40] # Re-allocated Sector Count
104
+    5: # Re-allocated Sector Count
105
+      field: "RAW_VALUE"
106
+      warn_threshold: "20:"
107
+      crit_threshold: "40:"
99 108
     171: # Program Fail Count
100 109
       field: "VALUE"
101 110
       warn_threshold: ":16"
@@ -130,7 +139,10 @@
130 139
   - "INTEL SSDSA2CW160G3"
131 140
   - "INTEL SSDSA2CT040G3"
132 141
   attributes:
133
-    5: ["RAW_VALUE", 20, 40] # Re-allocated Sector Count
142
+    5: # Re-allocated Sector Count
143
+      field: "RAW_VALUE"
144
+      warn_threshold: "20:"
145
+      crit_threshold: "40:"
134 146
     171: # Program Fail Count
135 147
       field: "VALUE"
136 148
       warn_threshold: ":16"
@@ -159,7 +171,10 @@
159 171
   - "Intel 520 Series SSDs"
160 172
   - "INTEL SSDSC2CW240A3"
161 173
   attributes:
162
-    5: ["RAW_VALUE", 20, 40] # Reallocated sector count
174
+    5: # Re-allocated Sector Count
175
+      field: "RAW_VALUE"
176
+      warn_threshold: "20:"
177
+      crit_threshold: "40:"
163 178
     171: # Program fail count
164 179
       warn_threshold: ":16"
165 180
       crit_threshold: ":11"
@@ -194,7 +209,10 @@
194 209
   - "INTEL SSDSC2BB800G4"
195 210
   - "INTEL SSDSC2BB012T4"
196 211
   attributes:
197
-    5: ["RAW_VALUE", 20, 40] # Re-allocated Sector Count
212
+    5: # Re-allocated Sector Count
213
+      field: "RAW_VALUE"
214
+      warn_threshold: "20:"
215
+      crit_threshold: "40:"
198 216
     171: # Program Fail Count
199 217
       field: "VALUE"
200 218
       warn_threshold: ":16"
@@ -231,7 +249,10 @@
231 249
   - "INTEL SSDSC2BA400G3"
232 250
   - "INTEL SSDSC2BA800G3"
233 251
   attributes:
234
-    5: ["RAW_VALUE", 20, 40] # Re-allocated Sector Count
252
+    5: # Re-allocated Sector Count
253
+      field: "RAW_VALUE"
254
+      warn_threshold: "20:"
255
+      crit_threshold: "40:"
235 256
     171: # Program Fail Count
236 257
       field: "VALUE"
237 258
       warn_threshold: ":16"
@@ -269,7 +290,10 @@
269 290
   - "SanDisk SD7UB2Q512G1022"
270 291
   - "SanDisk SD7UB2Q512G1122"
271 292
   attributes:
272
-    5: ["RAW_VALUE", 20, 40] # Re-allocated Sector Count
293
+    5: # Re-allocated Sector Count
294
+      field: "RAW_VALUE"
295
+      warn_threshold: "20:"
296
+      crit_threshold: "40:"
273 297
     171: ["RAW_VALUE", 0, 10] # Program_Fail_Count
274 298
     172: ["RAW_VALUE", 0, 10] # Erase_Fail_Count
275 299
     187: ["RAW_VALUE", 0, 10] # Reported_Uncorrect
@@ -285,7 +309,10 @@
285 309
   - "SAMSUNG MZ7GE480HMGR-00003"
286 310
   - "SAMSUNG MZ7GE960HMGR-00003"
287 311
   attributes:
288
-    5: ["RAW_VALUE", 10, 20] # Re-allocated Sector Count
312
+    5: # Re-allocated Sector Count
313
+      field: "RAW_VALUE"
314
+      warn_threshold: "10:"
315
+      crit_threshold: "20:"
289 316
     177: # Wear Leveling Count
290 317
       field: "VALUE"
291 318
       warn_threshold: ":16"
@@ -327,7 +354,10 @@
327 354
       field: "VALUE"
328 355
       warn_threshold: ":32"
329 356
       crit_threshold: ":22"
330
-    5: ["VALUE", 20, 40] # Re-allocated Sector Count
357
+    5: # Re-allocated Sector Count
358
+      field: "RAW_VALUE"
359
+      warn_threshold: "20:"
360
+      crit_threshold: "40:"
331 361
     10: ["RAW_VALUE", 0, 10] # Spin Retry Count
332 362
     11: ["RAW_VALUE", 0, 10] # Calibration Retry Count
333 363
     196: ["RAW_VALUE", 0, 10] # Reallocated Event Count
@@ -348,7 +378,10 @@
348 378
       field: "VALUE"
349 379
       warn_threshold: ":32"
350 380
       crit_threshold: ":22"
351
-    5: ["VALUE", 20, 40] # Re-allocated Sector Count
381
+    5: # Re-allocated Sector Count
382
+      field: "RAW_VALUE"
383
+      warn_threshold: "20:"
384
+      crit_threshold: "40:"
352 385
     10: ["RAW_VALUE", 0, 10] # Spin Retry Count
353 386
     197: ["RAW_VALUE", 0, 10] # Current Pending Sector
354 387
     198: ["RAW_VALUE", 0, 10] # Offline Uncorrectable
@@ -367,7 +400,10 @@
367 400
       field: "VALUE"
368 401
       warn_threshold: ":32"
369 402
       crit_threshold: ":22"
370
-    5: ["VALUE", 20, 40] # Re-allocated Sector Count
403
+    5: # Re-allocated Sector Count
404
+      field: "RAW_VALUE"
405
+      warn_threshold: "20:"
406
+      crit_threshold: "40:"
371 407
     10: ["RAW_VALUE", 0, 10] # Spin Retry Count
372 408
     197: ["RAW_VALUE", 0, 10] # Current Pending Sector
373 409
     198: ["RAW_VALUE", 0, 10] # Offline Uncorrectable
@@ -386,7 +422,10 @@
386 422
       field: "VALUE"
387 423
       warn_threshold: ":32"
388 424
       crit_threshold: ":22"
389
-    5: ["VALUE", 20, 40] # Re-allocated Sector Count
425
+    5: # Re-allocated Sector Count
426
+      field: "RAW_VALUE"
427
+      warn_threshold: "20:"
428
+      crit_threshold: "40:"
390 429
     10: ["RAW_VALUE", 0, 10] # Spin Retry Count
391 430
     197: ["RAW_VALUE", 0, 10] # Current Pending Sector
392 431
     198: ["RAW_VALUE", 0, 10] # Offline Uncorrectable
@@ -397,7 +436,10 @@
397 436
   - "Seagate Constellation ES.3 SATAIII 4TB Serie"
398 437
   - "ST4000NM0033-9ZM170"
399 438
   attributes:
400
-    5: ["RAW_VALUE", 20, 40] # Re-allocated Sector Count
439
+    5: # Re-allocated Sector Count
440
+      field: "RAW_VALUE"
441
+      warn_threshold: "20:"
442
+      crit_threshold: "40:"
401 443
     184: # End-to-End Error Detection Count
402 444
       field: "VALUE"
403 445
       warn_threshold: ":96"
@@ -431,7 +473,10 @@
431 473
       field: "VALUE"
432 474
       warn_threshold: ":32"
433 475
       crit_threshold: ":22"
434
-    5: ["RAW_VALUE", 20, 40] # Re-allocated Sector Count
476
+    5: # Re-allocated Sector Count
477
+      field: "RAW_VALUE"
478
+      warn_threshold: "20:"
479
+      crit_threshold: "40:"
435 480
     10: ["RAW_VALUE", 0, 10] # Spin Retry Count
436 481
     11: ["RAW_VALUE", 0, 10] # Calibration Retry Count
437 482
     196: ["RAW_VALUE", 0, 10] # Reallocated Event Count
@@ -452,7 +497,10 @@
452 497
       field: "VALUE"
453 498
       warn_threshold: ":32"
454 499
       crit_threshold: ":22"
455
-    5: ["RAW_VALUE", 20, 40] # Re-allocated Sector Count
500
+    5: # Re-allocated Sector Count
501
+      field: "RAW_VALUE"
502
+      warn_threshold: "20:"
503
+      crit_threshold: "40:"
456 504
     10: ["RAW_VALUE", 0, 10] # Spin Retry Count
457 505
     11: ["RAW_VALUE", 0, 10] # Calibration Retry Count
458 506
     196: ["RAW_VALUE", 0, 10] # Reallocated Event Count
@@ -481,7 +529,10 @@
481 529
       field: "VALUE"
482 530
       warn_threshold: ":32"
483 531
       crit_threshold: ":22"
484
-    5: ["RAW_VALUE", 0, 40] # Re-allocated Sector Count
532
+    5: # Re-allocated Sector Count
533
+      field: "RAW_VALUE"
534
+      warn_threshold: "0:"
535
+      crit_threshold: "40:"
485 536
     10: ["RAW_VALUE", 0, 10] # Spin Retry Count
486 537
     11: ["RAW_VALUE", 0, 10] # Calibration Retry Count
487 538
     196: ["RAW_VALUE", 0, 10] # Reallocated Event Count

Loading…
Cancel
Save