summaryrefslogtreecommitdiffstats
path: root/conf.d/health.d/ram.conf
blob: b99e5e226cf0b30ae5d0991848693a2262b84990 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
   alarm: used_ram_to_ignore
      on: system.ram
    calc: ($zfs.arc_size.arcsz = nan)?(0):($zfs.arc_size.arcsz)
   every: 10s
    info: the amount of memory that is reported as used, but it is actually capable for resizing itself based on the system needs (eg. ZFS ARC)

   alarm: ram_in_use
      on: system.ram
#   calc: $used * 100 / ($used + $cached + $free)
    calc: ($used - $used_ram_to_ignore) * 100 / ($used - $used_ram_to_ignore + $cached + $free)
   units: %
   every: 10s
    warn: $this > (($status >= $WARNING)  ? (80) : (90))
    crit: $this > (($status == $CRITICAL) ? (90) : (98))
   delay: down 15m multiplier 1.5 max 1h
    info: system RAM usage
      to: sysadmin