Add FreeBSD to compt swap templates
Jacob Ayres committed
Jan 24, 2018 at 21:41 UTC
3af09cbe54cd28b105cf2f19954434b11409bb86
1 file changed
+2
-2
conf.d/health.d/swap.conf
+2
-2
@@ -3,7 +3,7 @@
3
4
alarm: 30min_ram_swapped_out
5
on: system.swapio
6
- os: linux
6
+ os: linux freebsd
7
hosts: *
8
lookup: sum -30m unaligned absolute of out
9
# we have to convert KB to MB by dividing $this (i.e. the result of the lookup) with 1024
@@ -31,7 +31,7 @@
31
32
alarm: used_swap
33
on: system.swap
34
- os: linux
34
+ os: linux freebsd
35
hosts: *
36
calc: $used * 100 / ( $used + $free )
37
units: %