@cryptotaxi247 / netdata-1 / commits / 0791c0d79

Customize RAM templates to match FreeBSD metrics

Jacob Ayres committed Jan 24, 2018 at 19:41 UTC 0791c0d790be35fdc43d2fc74a70ad2891ca87f2
1 file changed +27
conf.d/health.d/ram.conf
+27
@@ -35,3 +35,30 @@
35 delay: down 15m multiplier 1.5 max 1h
36 info: estimated amount of RAM available for userspace processes, without causing swapping
37 to: sysadmin
38 +
39 +## FreeBSD
40 +alarm: ram_in_use
41 + on: system.ram
42 + os: freebsd
43 +hosts: *
44 + calc: (($active + $wired) - $used_ram_to_ignore) * 100 / (($active + $wired) - $used_ram_to_ignore + $cached + $free)
45 +units: %
46 +every: 10s
47 + warn: $this > (($status >= $WARNING) ? (80) : (90))
48 + crit: $this > (($status == $CRITICAL) ? (90) : (98))
49 +delay: down 15m multiplier 1.5 max 1h
50 + info: system RAM usage
51 + to: sysadmin
52 +
53 + alarm: ram_available
54 + on: system.ram
55 + os: freebsd
56 + hosts: *
57 + calc: ($free + $inactive + $used_ram_to_ignore) * 100 / ($free + $active + $inactive + $wired + $cache + $buffers)
58 + units: %
59 + every: 10s
60 + warn: $this < (($status >= $WARNING) ? ( 5) : (10))
61 + crit: $this < (($status == $CRITICAL) ? (10) : ( 5))
62 + delay: down 15m multiplier 1.5 max 1h
63 + info: estimated amount of RAM available for userspace processes, without causing swapping
64 + to: sysadmin