summaryrefslogtreecommitdiffstats
path: root/health
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2021-07-22 16:38:21 +0300
committerGitHub <noreply@github.com>2021-07-22 16:38:21 +0300
commite58e59c0f4848a100e9390f8234a83e7b1368c19 (patch)
tree855d26ab4d89a16d34b14b6d29a815b18ce61a52 /health
parent47faf64d3e8c824f9b0c8475168a9840fcdb1d0a (diff)
disable oom_kill alarm if the node is k8s node (#11359)
Diffstat (limited to 'health')
-rw-r--r--health/health.d/ram.conf23
1 files changed, 12 insertions, 11 deletions
diff --git a/health/health.d/ram.conf b/health/health.d/ram.conf
index 64c4a96c8c..98c1e5a76b 100644
--- a/health/health.d/ram.conf
+++ b/health/health.d/ram.conf
@@ -46,17 +46,18 @@ component: Memory
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 -30m unaligned
- units: kills
- every: 5m
- warn: $this > 0
- delay: down 10m
- info: number of out of memory kills in the last 30 minutes
- to: sysadmin
+ alarm: oom_kill
+ on: mem.oom_kill
+ os: linux
+ hosts: *
+ lookup: sum -30m unaligned
+ units: kills
+ every: 5m
+ warn: $this > 0
+ delay: down 10m
+host labels: _is_k8s_node = false
+ info: number of out of memory kills in the last 30 minutes
+ to: sysadmin
## FreeBSD
alarm: ram_in_use