| 1 | |
| 2 | # you can disable an alarm notification by setting the 'to' line to: silent |
| 3 | |
| 4 | alarm: semaphores_used |
| 5 | on: system.ipc_semaphores |
| 6 | class: Utilization |
| 7 | type: System |
| 8 | component: IPC |
| 9 | host labels: _os=linux |
| 10 | calc: $semaphores * 100 / $ipc_semaphores_max |
| 11 | units: % |
| 12 | every: 10s |
| 13 | warn: $this > (($status >= $WARNING) ? (70) : (80)) |
| 14 | delay: down 5m multiplier 1.5 max 1h |
| 15 | summary: IPC semaphores used |
| 16 | info: IPC semaphore utilization |
| 17 | to: sysadmin |
| 18 | |
| 19 | alarm: semaphore_arrays_used |
| 20 | on: system.ipc_semaphore_arrays |
| 21 | class: Utilization |
| 22 | type: System |
| 23 | component: IPC |
| 24 | host labels: _os=linux |
| 25 | calc: $arrays * 100 / $ipc_semaphores_arrays_max |
| 26 | units: % |
| 27 | every: 10s |
| 28 | warn: $this > (($status >= $WARNING) ? (70) : (80)) |
| 29 | delay: down 5m multiplier 1.5 max 1h |
| 30 | summary: IPC semaphore arrays used |
| 31 | info: IPC semaphore arrays utilization |
| 32 | to: sysadmin |