Skip to content

swap

Use case

Alert when a host is swapping heavily - often an earlier warning sign than memory usage alone.

Configuration

Field Type Meaning
threshold float percent; alert (critical) above this; 0/unset = never alert

Output

All datapoints:

Item Type Meaning
swap_percent float (%) swap used, percent
swap_used int (bytes) swap used
swap_total int (bytes) swap total

Example

checks:
  - module: swap
    name: swap_local
    conf:
      threshold: 90