summaryrefslogtreecommitdiffstats
path: root/health/health.d/processes.conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--health/health.d/processes.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/health/health.d/processes.conf b/health/health.d/processes.conf
new file mode 100644
index 0000000..293f1aa
--- /dev/null
+++ b/health/health.d/processes.conf
@@ -0,0 +1,13 @@
+# you can disable an alarm notification by setting the 'to' line to: silent
+
+ alarm: active_processes
+ on: system.active_processes
+ hosts: *
+ calc: $active * 100 / $pidmax
+ units: %
+ every: 5s
+ warn: $this > (($status >= $WARNING) ? (75) : (80))
+ crit: $this > (($status == $CRITICAL) ? (85) : (90))
+ delay: down 5m multiplier 1.5 max 1h
+ info: the percentage of active processes
+ to: sysadmin