]> arthur.barton.de Git - netdata.git/commitdiff
added alarms for IPC
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sat, 12 Nov 2016 23:51:04 +0000 (01:51 +0200)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sat, 12 Nov 2016 23:51:04 +0000 (01:51 +0200)
conf.d/Makefile.am
conf.d/health.d/ipc.conf [new file with mode: 0644]

index bdc2e20687507cec47fc06f82ed0f97bb7c6676c..690b5e7cfa90f272fa95279acaf9c0e805600e01 100644 (file)
@@ -55,6 +55,7 @@ dist_healthconfig_DATA = \
     health.d/cpu.conf \
     health.d/disks.conf \
     health.d/entropy.conf \
+    health.d/ipc.conf \
     health.d/memcached.conf \
     health.d/mysql.conf \
     health.d/named.conf \
diff --git a/conf.d/health.d/ipc.conf b/conf.d/health.d/ipc.conf
new file mode 100644 (file)
index 0000000..ee7c4ba
--- /dev/null
@@ -0,0 +1,22 @@
+
+   alarm: semaphores_used
+      on: system.ipc_semaphores
+    calc: $semaphores * 100 / $ipc.semaphores.max
+   units: %
+   every: 10s
+    warn: $this > (($status >= $WARNING)  ? (70) : (80))
+    crit: $this > (($status == $CRITICAL) ? (70) : (90))
+   delay: down 5m multiplier 1.5 max 1h
+    info: the percentage of IPC semaphores used
+      to: sysadmin
+
+   alarm: semaphore_arrays_used
+      on: system.ipc_semaphore_arrays
+    calc: $arrays * 100 / $ipc.semaphores.arrays.max
+   units: %
+   every: 10s
+    warn: $this > (($status >= $WARNING)  ? (70) : (80))
+    crit: $this > (($status == $CRITICAL) ? (70) : (90))
+   delay: down 5m multiplier 1.5 max 1h
+    info: the percentage of IPC semaphore arrays used
+      to: sysadmin