@cryptotaxi247 / netdata-1 / commits / a5fb8b5ed

added alarms for IPC

Costa Tsaousis (ktsaou) committed Nov 13, 2016 at 01:51 UTC a5fb8b5eda0baa7587b763b3e60d373bc2ce7c7c
2 files changed +23
conf.d/Makefile.am
+1
@@ -55,6 +55,7 @@ dist_healthconfig_DATA = \
55 health.d/cpu.conf \
56 health.d/disks.conf \
57 health.d/entropy.conf \
58 + health.d/ipc.conf \
59 health.d/memcached.conf \
60 health.d/mysql.conf \
61 health.d/named.conf \
conf.d/health.d/ipc.conf new
+22
@@ -0,0 +1,22 @@
1 +
2 + alarm: semaphores_used
3 + on: system.ipc_semaphores
4 + calc: $semaphores * 100 / $ipc.semaphores.max
5 + units: %
6 + every: 10s
7 + warn: $this > (($status >= $WARNING) ? (70) : (80))
8 + crit: $this > (($status == $CRITICAL) ? (70) : (90))
9 + delay: down 5m multiplier 1.5 max 1h
10 + info: the percentage of IPC semaphores used
11 + to: sysadmin
12 +
13 + alarm: semaphore_arrays_used
14 + on: system.ipc_semaphore_arrays
15 + calc: $arrays * 100 / $ipc.semaphores.arrays.max
16 + units: %
17 + every: 10s
18 + warn: $this > (($status >= $WARNING) ? (70) : (80))
19 + crit: $this > (($status == $CRITICAL) ? (70) : (90))
20 + delay: down 5m multiplier 1.5 max 1h
21 + info: the percentage of IPC semaphore arrays used
22 + to: sysadmin