redis: alarms suggested by @ktsaou added
Ilya committed
Sep 25, 2017 at 09:26 UTC
df4172f2a12daa16dc86b7aaea1945e1373ab60d
1 file changed
+20
conf.d/health.d/redis.conf
+20
@@ -12,3 +12,23 @@ template: redis_last_collected_secs
12
info: number of seconds since the last successful data collection
13
to: dba
14
15
+template: redis_bgsave_broken
16
+families: *
17
+ on: redis.bgsave_health
18
+ every: 10s
19
+ crit: $rdb_last_bgsave_status != 0
20
+ units: ok/failed
21
+ info: states if redis bgsave is working
22
+ delay: down 5m multiplier 1.5 max 1h
23
+ to: dba
24
+
25
+template: redis_bgsave_slow
26
+families: *
27
+ on: redis.bgsave_now
28
+ every: 10s
29
+ warn: $rdb_bgsave_in_progress > 600
30
+ crit: $rdb_bgsave_in_progress > 1200
31
+ units: seconds
32
+ info: the time redis needs to save its database
33
+ delay: down 5m multiplier 1.5 max 1h
34
+ to: dba