@cryptotaxi247 / netdata-1 / commits / 47d0c8854

Active pid number alert (#6116)

Adam Pardyl committed May 27, 2019 at 10:46 UTC 47d0c8854c8d737b6b1b3bb3d73b59fa3b389c43
2 files changed +28
health/Makefile.am
+1
@@ -65,6 +65,7 @@ dist_healthconfig_DATA = \
65 health.d/phpfpm.conf \
66 health.d/portcheck.conf \
67 health.d/postgres.conf \
68 + health.d/processes.conf \
69 health.d/qos.conf \
70 health.d/ram.conf \
71 health.d/redis.conf \
health/health.d/processes.conf new
+27
@@ -0,0 +1,27 @@
1 +# you can disable an alarm notification by setting the 'to' line to: silent
2 +
3 + alarm: active_processes_limit_freebsd
4 + on: system.active_processes
5 + os: freebsd
6 + hosts: *
7 + calc: $active
8 + units: processes
9 + every: 5s
10 + warn: $this > (($status >= $WARNING) ? (75000) : (80000))
11 + crit: $this > (($status == $CRITICAL) ? (85000) : (90000))
12 + delay: down 5m multiplier 1.5 max 1h
13 + info: the number of active processes
14 + to: sysadmin
15 +
16 + alarm: active_processes_limit
17 + on: system.active_processes
18 + os: linux
19 + hosts: *
20 + calc: $active
21 + units: processes
22 + every: 5s
23 + warn: $this > (($status >= $WARNING) ? (25000) : (26000))
24 + crit: $this > (($status == $CRITICAL) ? (28000) : (30000))
25 + delay: down 5m multiplier 1.5 max 1h
26 + info: number of active processes
27 + to: sysadmin