]> arthur.barton.de Git - netdata.git/blob - conf.d/health.d/swap.conf
varnish_plugin: remove from conf file not ascii characters
[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)  ? (10) : (20))
10     crit: $this > (($status == $CRITICAL) ? (20) : (30))
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: ram_in_swap
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
25
26    alarm: used_swap
27       on: system.swap
28     calc: $used * 100 / ( $used + $free )
29    units: %
30    every: 10s
31     warn: $this > (($status >= $WARNING)  ? (80) : (90))
32     crit: $this > (($status == $CRITICAL) ? (90) : (98))
33    delay: up 0 down 15m multiplier 1.5 max 1h
34     info: the percentage of swap memory used
35       to: sysadmin