]> arthur.barton.de Git - netdata.git/blob - conf.d/health.d/swap.conf
Fix occasional crashes in python plugins
[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    units: % of RAM
8    every: 1m
9     warn: $this > (($status >= $WARNING)  ? (5)  : (10))
10     crit: $this > (($status == $CRITICAL) ? (15) : (20))
11    delay: up 0 down 15m multiplier 1.5 max 1h
12     info: the amount of memory swapped in the last 30 minutes, as a percentage of the system RAM
13       to: sysadmin
14
15    alarm: used_swap_space
16       on: system.swap
17     calc: $used * 100 / ( $system.ram.used + $system.ram.cached + $system.ram.free )
18    units: % of RAM
19    every: 10s
20     warn: $this > (($status >= $WARNING)  ? (15) : (20))
21     crit: $this > (($status == $CRITICAL) ? (40) : (50))
22    delay: up 0 down 15m multiplier 1.5 max 1h
23     info: the swap memory used, as a percentage of the system RAM
24       to: sysadmin