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

check_swap_rate

Current Version
1.0
Last Release Date
2015-02-09
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
Owner
License
MIT
Hits
7377
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
check_swap_rate
Instantly check swapin/swapout activity (pages/s)
A check should be instant.

In order to avoid waiting several seconds to get the deritative of pswpin pswpout from vmstat, this check stores the current state in a file. The result is instant (no hang).

Instructions : just run "make" to build.

Check also displays performance data.

Usage :

$ ./check_swap_rate -h
Usage: ./check_swap_rate [-i INTERVAL] [-w W_THRESHOLD] [-c C_THRESHOLD] [-h] [-V]

-i INTERVAL interval in seconds (default 60)
-c C_THRESHOLD number of pages for critical threshold (default 60)
-w W_THRESHOLD number of pages for warning threshold (default 30)
-h this help
-V version


Examples:
./check_swap_rate -i 2 -c 2 -w 1 # critical: 1 page/s warning: 0.5 page/s
./check_swap_rate -i 600 -c 1200 -w 300 # critical: 2 page/s warning: 0.5 page/s