summaryrefslogtreecommitdiffstats
path: root/health/health.d/ipc.conf
blob: 6eaf7abe9da3cb82441e132e1676282595051cc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# you can disable an alarm notification by setting the 'to' line to: silent

    alarm: semaphores_used
       on: system.ipc_semaphores
    class: System
component: IPC
     type: Utilization
       os: linux
    hosts: *
     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: IPC semaphore utilization
       to: sysadmin

    alarm: semaphore_arrays_used
       on: system.ipc_semaphore_arrays
    class: System
component: IPC
     type: Utilization
       os: linux
    hosts: *
     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: IPC semaphore arrays utilization
       to: sysadmin