File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,7 @@ component: Memory
20
20
component: Memory
21
21
os: linux
22
22
hosts: *
23
- # calc: $used * 100 / ($used + $cached + $free)
24
- calc: ($used - $used_ram_to_ignore) * 100 / ($used + $cached + $free)
23
+ calc: ($used - $used_ram_to_ignore) * 100 / ($used + $cached + $free + $buffers)
25
24
units: %
26
25
every: 10s
27
26
warn: $this > (($status >= $WARNING) ? (80) : (90))
@@ -37,7 +36,7 @@ component: Memory
37
36
component: Memory
38
37
os: linux
39
38
hosts: *
40
- calc: ( $avail + $system.ram.used_ram_to_ignore) * 100 / ($system.ram.used + $system.ram.cached + $system.ram.free + $system.ram.buffers)
39
+ calc: $avail * 100 / ($system.ram.used + $system.ram.cached + $system.ram.free + $system.ram.buffers)
41
40
units: %
42
41
every: 10s
43
42
warn: $this < (($status >= $WARNING) ? (15) : (10))
You can’t perform that action at this time.
0 commit comments