summaryrefslogtreecommitdiffstats
path: root/health/health.d/ram.conf
diff options
context:
space:
mode:
Diffstat (limited to 'health/health.d/ram.conf')
-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