Home Directory Plugins System Metrics Memory Check used Swap on Linux

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Check used Swap on Linux

Rating
0 votes
Favoured:
1
Current Version
1.0
Last Release Date
2011-11-03
Compatible With
  • Nagios 2.x
  • Nagios 3.x
Owner
Hits
93459
Files:
FileDescription
check_swap.shshell script
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
A simple shell script that checks the usage of swap in a Linux System.

Intention was, that a system should never swap anything, it was not enough to watch free swap.

Output includes performance data for pnp4nagios.
# Swap memory usage on a machine using free
#
# No machine should never ever swap anything! (following the old saw: "Memory is RAM!")
#
# usage: "check_swap -w WARNING(INTEGER in MBytes) -c CRITICAL(INTEGER in MBytes)"
#
# WARNING < CRIT