Home Directory Plugins System Metrics Memory Check swap activity on Linux

Check swap activity on Linux

Bookmark and Share

Current Version
1.0
Last Release Date
2012-06-10
Compatible With
  • Nagios 3.x
Owner
E-mail
License
GPL
Hits
25994
Files:
FileDescription
check_swap_activitycheck_swap_activity
Check swap activity on your Linux host.
This plugin is designed to determine if your Linux server is swapping excessively from physical to virtual memory. Displays swap activity in bytes (e.g. 124 bytes swapped into virtual memory in the last 2 seconds). Includes performance data for graphing.
Reviews (1)
The last elif condition uses an undefined variable, ${USED_SWAP} which was probably replaced by ${SWAPOUT_ACTIVITY}. Just a heads up in case the check returns UNKNOWN status when it should be CRITICAL. Also, the double pipes can be replaced with -ge, for the two elifs.