]> arthur.barton.de Git - netdata.git/blob - conf.d/health.d/swap.conf
more elastic swap checks
[netdata.git] / conf.d / health.d / swap.conf
1
2    alarm: 30min_ram_swapped_out
3       on: system.swapio
4   lookup: sum -30m unaligned absolute of out
5           # we have to convert KB to MB by dividing $this (i.e. the result of the lookup) with 1024
6     calc: $this / 1024 * 100 / ( $system.ram.used + $system.ram.cached + $system.ram.free )
7    every: 1m
8     warn: $this > 10
9     crit: $this > 20
10    units: % of RAM
11     info: the amount of memory swapped in the last 30 minutes, as a percentage of the system RAM
12
13    alarm: pcent_of_ram_in_swap
14       on: system.swap
15     calc: $used * 100 / ( $system.ram.used + $system.ram.cached + $system.ram.free )
16    every: 10s
17     warn: $this > 10
18     crit: $this > 50
19    units: % of RAM
20     info: the swap memory used, as a percentage of the system RAM