summaryrefslogtreecommitdiffstats
path: root/health/health.d/megacli.conf
blob: f861765d20a2484fa4d480fb1a04fc7ee83f0657 (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
## Adapters (controllers)

template: megacli_adapter_state
      on: megacli.adapter_degraded
  lookup: max -10s foreach *
   units: boolean
   every: 10s
    crit: $this > 0
   delay: down 5m multiplier 2 max 10m
    info: adapter is in the degraded state (0: false, 1: true)
      to: sysadmin

## Physical Disks

template: megacli_pd_predictive_failures
      on: megacli.pd_predictive_failure
  lookup: sum -10s foreach *
   units: predictive failures
   every: 10s
    warn: $this > 0
   delay: up 1m down 5m multiplier 2 max 10m
    info: number of physical drive predictive failures
      to: sysadmin

template: megacli_pd_media_errors
      on: megacli.pd_media_error
  lookup: sum -10s foreach *
   units: media errors
   every: 10s
    warn: $this > 0
   delay: up 1m down 5m multiplier 2 max 10m
    info: number of physical drive media errors
      to: sysadmin

## Battery Backup Units (BBU)

template: megacli_bbu_relative_charge
      on: megacli.bbu_relative_charge
  lookup: average -10s
   units: percent
   every: 10s
    warn: $this <= (($status >= $WARNING)  ? (85) : (80))
    crit: $this <= (($status == $CRITICAL)  ? (50) : (40))
    info: average battery backup unit (BBU) relative state of charge over the last 10 seconds
      to: sysadmin

template: megacli_bbu_cycle_count
      on: megacli.bbu_cycle_count
  lookup: average -10s
   units: cycles
   every: 10s
    warn: $this >= 100
    crit: $this >= 500
    info: average battery backup unit (BBU) charge cycles count over the last 10 seconds
      to: sysadmin