Ga naar hoofdinhoud

Linux/SSH Swap Event Monitor Reference Guide

Tracks swap usage on Linux machines over SSH and alerts when swap pressure becomes too high.

notitie

Overview

The Linux/SSH Swap Event Monitor checks swap space utilization on Linux hosts and reports both absolute and percentage-based swap usage. This helps detect memory pressure before systems become unstable.

info

Use Cases

  • Proactive Capacity Monitoring: Detects swap growth that can indicate insufficient RAM.
  • Performance Troubleshooting: Highlights hosts where heavy swapping may degrade application responsiveness.

Monitoring Options

This event monitor provides the following options:

Connectivity Alerts

  • Device Contact: Alert with [Info/Warning/Error/Critical] if the device cannot be contacted.

Swap Threshold Alerts

  • Swap Used %: Alert when swap usage percentage rises above a configured threshold.
  • Swap Used: Alert when consumed swap space exceeds a configured size threshold.
  • Swap Free: Alert when remaining swap drops below a configured threshold.

Authentication and Security

The monitoring account must be able to run standard shell commands over SSH to retrieve swap metrics.

Protocols

Data Points

Data PointDescription
Swap UsedThe amount of swap currently in use.
Swap Used %The percentage of total swap currently used.
Swap FreeThe amount of swap currently available.
Swap TotalThe total configured swap size.

Sample Output

Sample Output