summaryrefslogtreecommitdiffstats
path: root/health
diff options
context:
space:
mode:
authorVladimir Kobal <vlad@prokk.net>2021-04-14 12:17:38 +0300
committerGitHub <noreply@github.com>2021-04-14 12:17:38 +0300
commit9f63bef4db69ee67735078570af62dfed208e510 (patch)
tree333b5fb6f02e41737ca283b44f6d2ce622a551c2 /health
parent317bced458e8dcbb8cf96bd0b1a4bbe814534460 (diff)
Add a chart for out of memory kills (#10880)
Co-authored-by: Joel Hans <joel.g.hans@gmail.com> Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
Diffstat (limited to 'health')
-rw-r--r--health/health.d/ram.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/health/health.d/ram.conf b/health/health.d/ram.conf
index 2daecc4895..57cf0d95d1 100644
--- a/health/health.d/ram.conf
+++ b/health/health.d/ram.conf
@@ -37,6 +37,18 @@
info: percentage of estimated amount of RAM available for userspace processes, without causing swapping
to: sysadmin
+ alarm: oom_kill
+ on: mem.oom_kill
+ os: linux
+ hosts: *
+ lookup: sum -1m unaligned
+ units: kills
+ every: 10s
+ warn: $this > 0
+ delay: down 5m
+ info: number of out of memory kills in the last minute
+ to: sysadmin
+
## FreeBSD
alarm: ram_in_use
on: system.ram