@cryptotaxi247 / netdata-1 / commits / e58e59c0f

disable oom_kill alarm if the node is k8s node (#11359)

Ilya Mashchenko committed Jul 22, 2021 at 16:38 UTC e58e59c0f4848a100e9390f8234a83e7b1368c19
1 file changed +12 -11
health/health.d/ram.conf
+12 -11
@@ -46,17 +46,18 @@ component: Memory
46 info: percentage of estimated amount of RAM available for userspace processes, without causing swapping
47 to: sysadmin
48
49 - alarm: oom_kill
50 - on: mem.oom_kill
51 - os: linux
52 - hosts: *
53 - lookup: sum -30m unaligned
54 - units: kills
55 - every: 5m
56 - warn: $this > 0
57 - delay: down 10m
58 - info: number of out of memory kills in the last 30 minutes
59 - to: sysadmin
49 + alarm: oom_kill
50 + on: mem.oom_kill
51 + os: linux
52 + hosts: *
53 + lookup: sum -30m unaligned
54 + units: kills
55 + every: 5m
56 + warn: $this > 0
57 + delay: down 10m
58 +host labels: _is_k8s_node = false
59 + info: number of out of memory kills in the last 30 minutes
60 + to: sysadmin
61
62 ## FreeBSD
63 alarm: ram_in_use