Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Instantly check swapin/swapout activity (pages/s)
Current Version
1.0
Last Release Date
2015-02-09
Owner
Guillaume Coré
Website
https://github.com/fridim/nagios-plugin-check_swap_rate
Download URL
https://github.com/fridim/nagios-plugin-check_swap_rate/archive/master.zip
License
MIT
Compatible With
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
You must be logged in to submit a review.
To:
From: