blob: 1881a7be145557e95f369688ad5c72885eeb8c03 (
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
|
alarm: adapter_state
on: megacli.adapter_degraded
units: is degraded
lookup: sum -10s
every: 10s
crit: $this > 0
info: adapter state
to: sysadmin
template: bbu_relative_charge
on: megacli.bbu_relative_charge
units: percent
lookup: average -10s
every: 10s
warn: $this <= (($status >= $WARNING) ? (85) : (80))
crit: $this <= (($status == $CRITICAL) ? (50) : (40))
info: BBU relative state of charge
to: sysadmin
template: bbu_cycle_count
on: megacli.bbu_cycle_count
units: cycle count
lookup: average -10s
every: 10s
warn: $this >= 100
crit: $this >= 500
info: BBU cycle count
to: sysadmin
alarm: pd_media_errors
on: megacli.pd_media_error
units: media errors
lookup: sum -10s
every: 10s
warn: $this > 0
delay: down 1m multiplier 2 max 10m
info: physical drive media errors
to: sysadmin
alarm: pd_predictive_failures
on: megacli.pd_predictive_failure
units: predictive failures
lookup: sum -10s
every: 10s
warn: $this > 0
delay: down 1m multiplier 2 max 10m
info: physical drive predictive failures
to: sysadmin
|