]> arthur.barton.de Git - netdata.git/blob - conf.d/health.d/swap.conf
Merge pull request #879 from ktsaou/master
[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       to: sysadmin
13
14    alarm: pcent_of_ram_in_swap
15       on: system.swap
16     calc: $used * 100 / ( $system.ram.used + $system.ram.cached + $system.ram.free )
17    every: 10s
18     warn: $this > 10
19     crit: $this > 50
20    units: % of RAM
21     info: the swap memory used, as a percentage of the system RAM
22       to: sysadmin