]> arthur.barton.de Git - netdata.git/commitdiff
added more alarms #810
authorCosta Tsaousis <costa@tsaousis.gr>
Mon, 22 Aug 2016 20:03:36 +0000 (23:03 +0300)
committerCosta Tsaousis <costa@tsaousis.gr>
Mon, 22 Aug 2016 20:03:36 +0000 (23:03 +0300)
conf.d/health.d/cpu.conf [new file with mode: 0644]
conf.d/health.d/memcached.conf [new file with mode: 0644]

diff --git a/conf.d/health.d/cpu.conf b/conf.d/health.d/cpu.conf
new file mode 100644 (file)
index 0000000..b3b0a58
--- /dev/null
@@ -0,0 +1,18 @@
+
+template: 5min_all_cpu
+      on: system.cpu
+  lookup: average -5m unaligned of user,system,nice,softirq,irq,guest,guest_nice
+   every: 1m
+    warn: $this > 90
+
+template: 5min_waitio_cpu
+      on: system.cpu
+  lookup: average -5m unaligned of waitio
+   every: 1m
+    warn: $this > 10
+
+template: 5min_steal_cpu
+      on: system.cpu
+  lookup: average -20m unaligned of steal
+   every: 5m
+    warn: $this > 10
diff --git a/conf.d/health.d/memcached.conf b/conf.d/health.d/memcached.conf
new file mode 100644 (file)
index 0000000..9e795b1
--- /dev/null
@@ -0,0 +1,10 @@
+
+# make sure memcached is running
+
+template: memcached_last_collected_secs
+      on: memcached.connections
+    calc: $now - $last_collected_t
+   every: 10s
+    warn: $this > ( 5 * $update_every)
+    crit: $this > (10 * $update_every)
+