added more alarms #810
Costa Tsaousis committed
Aug 22, 2016 at 23:03 UTC
1058af8239e7741949a806413a025772f85bb3b0
2 files changed
+28
conf.d/health.d/cpu.conf
new
+18
@@ -0,0 +1,18 @@
1
+
2
+template: 5min_all_cpu
3
+ on: system.cpu
4
+ lookup: average -5m unaligned of user,system,nice,softirq,irq,guest,guest_nice
5
+ every: 1m
6
+ warn: $this > 90
7
+
8
+template: 5min_waitio_cpu
9
+ on: system.cpu
10
+ lookup: average -5m unaligned of waitio
11
+ every: 1m
12
+ warn: $this > 10
13
+
14
+template: 5min_steal_cpu
15
+ on: system.cpu
16
+ lookup: average -20m unaligned of steal
17
+ every: 5m
18
+ warn: $this > 10
conf.d/health.d/memcached.conf
new
+10
@@ -0,0 +1,10 @@
1
+
2
+# make sure memcached is running
3
+
4
+template: memcached_last_collected_secs
5
+ on: memcached.connections
6
+ calc: $now - $last_collected_t
7
+ every: 10s
8
+ warn: $this > ( 5 * $update_every)
9
+ crit: $this > (10 * $update_every)
10
+