From c69cb8cc094cc916adbc516b09e944cd3d137c01 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 13:08:07 +0200 Subject: Adding upstream version 1.29.3. Signed-off-by: Daniel Baumann --- health/health.d/processes.conf | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 health/health.d/processes.conf (limited to 'health/health.d/processes.conf') 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 -- cgit v1.2.3