adjusted alarm values
Chris committed
Jul 3, 2018 at 23:00 UTC
6fec2740aefa92b1e0a3447d184b7231e6e76e14
1 file changed
+4
-4
conf.d/health.d/apcupsd.conf
+4
-4
@@ -20,8 +20,8 @@ template: ups_charge
20
lookup: average -60s unaligned of charge
21
units: %
22
every: 60s
23
- warn: $this < (($status >= $WARNING) ? (90) : (95))
24
- crit: $this < (($status == $CRITICAL) ? (20) : (15))
23
+ warn: $this < (($status >= $WARNING) ? (90) : (98))
24
+ crit: $this < (($status == $CRITICAL) ? (60) : (50))
25
delay: down 10m multiplier 1.5 max 1h
26
info: current UPS charge, averaged over the last 60 seconds to reduce measurement errors
27
to: sitemgr
@@ -31,8 +31,8 @@ template: apcupsd_last_collected_secs
31
calc: $now - $last_collected_t
32
every: 10s
33
units: seconds ago
34
- warn: $this > (($status >= $WARNING) ? ($update_every) : ( 2 * $update_every))
35
- crit: $this > (($status == $CRITICAL) ? ($update_every) : (10 * $update_every))
34
+ warn: $this > (($status >= $WARNING) ? ($update_every) : ( 5 * $update_every))
35
+ crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every))
36
delay: down 5m multiplier 1.5 max 1h
37
info: number of seconds since the last successful data collection
38
to: sitemgr