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 Point | Description |
|---|---|
| Swap Used | The amount of swap currently in use. |
| Swap Used % | The percentage of total swap currently used. |
| Swap Free | The amount of swap currently available. |
| Swap Total | The total configured swap size. |
Sample Output
