summaryrefslogtreecommitdiffstats
path: root/src/health/health.d/ipc.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/health/health.d/ipc.conf')
-rw-r--r--src/health/health.d/ipc.conf32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/health/health.d/ipc.conf b/src/health/health.d/ipc.conf
new file mode 100644
index 000000000..f46cf4285
--- /dev/null
+++ b/src/health/health.d/ipc.conf
@@ -0,0 +1,32 @@
+
+# you can disable an alarm notification by setting the 'to' line to: silent
+
+ alarm: semaphores_used
+ on: system.ipc_semaphores
+ class: Utilization
+ type: System
+ component: IPC
+host labels: _os=linux
+ calc: $semaphores * 100 / $ipc_semaphores_max
+ units: %
+ every: 10s
+ warn: $this > (($status >= $WARNING) ? (70) : (80))
+ delay: down 5m multiplier 1.5 max 1h
+ summary: IPC semaphores used
+ info: IPC semaphore utilization
+ to: sysadmin
+
+ alarm: semaphore_arrays_used
+ on: system.ipc_semaphore_arrays
+ class: Utilization
+ type: System
+ component: IPC
+host labels: _os=linux
+ calc: $arrays * 100 / $ipc_semaphores_arrays_max
+ units: %
+ every: 10s
+ warn: $this > (($status >= $WARNING) ? (70) : (80))
+ delay: down 5m multiplier 1.5 max 1h
+ summary: IPC semaphore arrays used
+ info: IPC semaphore arrays utilization
+ to: sysadmin