Permalink
Browse files

added alarms for IPC

  • Loading branch information...
1 parent d93bfda commit a5fb8b5eda0baa7587b763b3e60d373bc2ce7c7c @ktsaou ktsaou committed Nov 12, 2016
Showing with 23 additions and 0 deletions.
  1. +1 −0 conf.d/Makefile.am
  2. +22 −0 conf.d/health.d/ipc.conf
View
@@ -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 \
@@ -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

0 comments on commit a5fb8b5

Please sign in to comment.