Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_swap_rate
1.0
2015-02-09
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
MIT
10098
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 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
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)
Be the first to review this listing!