Memory

check_swap_rate

Description:

Instantly check swapin/swapout activity (pages/s)

Current Version

1.0

Last Release Date

2015-02-09

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x

License

MIT


Project Photos
Project Notes
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
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
5 (1)
Favorites
0
Views
10,043