lowered alarm check frequency to 10s
Costa Tsaousis (ktsaou) committed
Jan 2, 2017 at 02:38 UTC
68f47a938fdf118ad7ddcce677a935145a6f0172
1 file changed
+2
-2
conf.d/health.d/mdstat.conf
+2
-2
@@ -1,7 +1,7 @@
1
template: mdstat_disks
2
on: md.disks
3
units: active devices
4
- every: 1s
4
+ every: 10s
5
calc: $total - $inuse
6
crit: $this > 0
7
info: Array is degraded!
@@ -11,7 +11,7 @@ template: mdstat_last_collected
11
on: md.disks
12
calc: $now - $last_collected_t
13
units: seconds ago
14
- every: 1s
14
+ every: 10s
15
warn: $this > (($status >= $WARNING) ? ($update_every) : ( 5 * $update_every))
16
crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every))
17
info: number of seconds since the last successful data collection