summaryrefslogtreecommitdiffstats
path: root/health/health.d/file_descriptors.conf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-07-20 04:49:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-07-20 04:49:55 +0000
commitab1bb5b7f1c3c3a7b240ab7fc8661459ecd7decb (patch)
tree7a900833aad3ccc685712c6c2a7d87576d54f427 /health/health.d/file_descriptors.conf
parentAdding upstream version 1.40.1. (diff)
downloadnetdata-ab1bb5b7f1c3c3a7b240ab7fc8661459ecd7decb.tar.xz
netdata-ab1bb5b7f1c3c3a7b240ab7fc8661459ecd7decb.zip
Adding upstream version 1.41.0.upstream/1.41.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'health/health.d/file_descriptors.conf')
-rw-r--r--health/health.d/file_descriptors.conf31
1 files changed, 31 insertions, 0 deletions
diff --git a/health/health.d/file_descriptors.conf b/health/health.d/file_descriptors.conf
new file mode 100644
index 000000000..d136ea517
--- /dev/null
+++ b/health/health.d/file_descriptors.conf
@@ -0,0 +1,31 @@
+ # you can disable an alarm notification by setting the 'to' line to: silent
+
+ template: system_file_descriptors_utilization
+ on: system.file_nr_utilization
+ class: Utilization
+ type: System
+ component: Processes
+ hosts: *
+ lookup: max -1m unaligned
+ units: %
+ every: 1m
+ crit: $this > 90
+ delay: down 15m multiplier 1.5 max 1h
+ info: system-wide utilization of open files
+ to: sysadmin
+
+ template: apps_group_file_descriptors_utilization
+ on: apps.fd_limit
+ class: Utilization
+ type: System
+component: Process
+ os: linux
+ module: !* *
+ hosts: *
+ lookup: max -1m unaligned foreach *
+ units: %
+ every: 1m
+ warn: $this > (($status >= $WARNING) ? (85) : (90))
+ delay: down 15m multiplier 1.5 max 1h
+ info: maximum utilization of open files among all application group PIDs
+ to: sysadmin