blob: d96998fdfcc4dc87c57c290bf0b67ee57ab6d697 (
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
|
# you can disable an alarm notification by setting the 'to' line to: silent
alarm: active_processes_limit_freebsd
on: system.active_processes
os: freebsd
hosts: *
calc: $active
units: processes
every: 5s
warn: $this > (($status >= $WARNING) ? (75000) : (80000))
crit: $this > (($status == $CRITICAL) ? (85000) : (90000))
delay: down 5m multiplier 1.5 max 1h
info: the number of active processes
to: sysadmin
alarm: active_processes_limit
on: system.active_processes
os: linux
hosts: *
calc: $active
units: processes
every: 5s
warn: $this > (($status >= $WARNING) ? (25000) : (26000))
crit: $this > (($status == $CRITICAL) ? (28000) : (30000))
delay: down 5m multiplier 1.5 max 1h
info: number of active processes
to: sysadmin
|