summaryrefslogtreecommitdiffstats
path: root/conf.d
diff options
context:
space:
mode:
authorChris <github.account@chrigel.net>2018-07-03 23:00:36 +0200
committerChris <github.account@chrigel.net>2018-07-03 23:00:36 +0200
commit6fec2740aefa92b1e0a3447d184b7231e6e76e14 (patch)
tree02a97a94107d0cd44a1054da62335ba7ff6c31bf /conf.d
parent75eb439103e93f567ac47f5ee63f5c8586ba09b4 (diff)
adjusted alarm values
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/health.d/apcupsd.conf8
1 files changed, 4 insertions, 4 deletions
diff --git a/conf.d/health.d/apcupsd.conf b/conf.d/health.d/apcupsd.conf
index bfacaede50..1c0202a36b 100644
--- a/conf.d/health.d/apcupsd.conf
+++ b/conf.d/health.d/apcupsd.conf
@@ -20,8 +20,8 @@ template: ups_charge
lookup: average -60s unaligned of charge
units: %
every: 60s
- warn: $this < (($status >= $WARNING) ? (90) : (95))
- crit: $this < (($status == $CRITICAL) ? (20) : (15))
+ warn: $this < (($status >= $WARNING) ? (90) : (98))
+ crit: $this < (($status == $CRITICAL) ? (60) : (50))
delay: down 10m multiplier 1.5 max 1h
info: current UPS charge, averaged over the last 60 seconds to reduce measurement errors
to: sitemgr
@@ -31,8 +31,8 @@ template: apcupsd_last_collected_secs
calc: $now - $last_collected_t
every: 10s
units: seconds ago
- warn: $this > (($status >= $WARNING) ? ($update_every) : ( 2 * $update_every))
- crit: $this > (($status == $CRITICAL) ? ($update_every) : (10 * $update_every))
+ warn: $this > (($status >= $WARNING) ? ($update_every) : ( 5 * $update_every))
+ crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every))
delay: down 5m multiplier 1.5 max 1h
info: number of seconds since the last successful data collection
to: sitemgr