summaryrefslogtreecommitdiffstats
path: root/health/health.d/memory.conf
blob: 8badf09c4b10503cf1b3a60f445a5a3e63be62e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# you can disable an alarm notification by setting the 'to' line to: silent

    alarm: 1hour_memory_hw_corrupted
       on: mem.hwcorrupt
    class: Errors
     type: System
component: Memory
       os: linux
    hosts: *
     calc: $HardwareCorrupted
    units: MB
    every: 10s
     warn: $this > 0
    delay: down 1h multiplier 1.5 max 1h
     info: amount of memory corrupted due to a hardware failure
       to: sysadmin

## ECC Controller

 template: ecc_memory_mc_correctable
       on: mem.edac_mc
    class: Errors
     type: System
component: Memory
       os: linux
    hosts: *
   lookup: sum -10m unaligned of correctable, correctable_noinfo
    units: errors
    every: 1m
     warn: $this > 0
    delay: down 1h multiplier 1.5 max 1h
     info: memory controller ${label:controller} ECC correctable errors in the last 10 minutes
       to: sysadmin

 template: ecc_memory_mc_uncorrectable
       on: mem.edac_mc
    class: Errors
     type: System
component: Memory
       os: linux
    hosts: *
   lookup: sum -10m unaligned of uncorrectable,uncorrectable_noinfo
    units: errors
    every: 1m
     crit: $this > 0
    delay: down 1h multiplier 1.5 max 1h
     info: memory controller ${label:controller} ECC uncorrectable errors in the last 10 minutes
       to: sysadmin

## ECC DIMM

 template: ecc_memory_dimm_correctable
       on: mem.edac_mc_dimm
    class: Errors
     type: System
component: Memory
       os: linux
    hosts: *
   lookup: sum -10m unaligned of correctable
    units: errors
    every: 1m
     warn: $this > 0
    delay: down 1h multiplier 1.5 max 1h
     info: DIMM ${label:dimm} controller ${label:controller} (location ${label:dimm_location}) ECC correctable errors in the last 10 minutes
       to: sysadmin

 template: ecc_memory_dimm_uncorrectable
       on: mem.edac_mc_dimm
    class: Errors
     type: System
component: Memory
       os: linux
    hosts: *
   lookup: sum -10m unaligned of uncorrectable
    units: errors
    every: 1m
     crit: $this > 0
    delay: down 1h multiplier 1.5 max 1h
     info: DIMM ${label:dimm} controller ${label:controller} (location ${label:dimm_location}) ECC uncorrectable errors in the last 10 minutes
       to: sysadmin