Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
This script checks swap space available on the machine it is run on. It outputs the percentage of free space or number of bytes free, depending on input parameters.
Current Version
1.1
Last Release Date
2014-03-02
Owner
Thom DeCarlo
License
GPL
Compatible With
Usage: "check_swap_osx [-h] [-V] [-v] -w WARNING(INTEGER) -c CRITICAL(INTEGER)"
WARNING > CRIT
WARNING and CRIT are measured in percentage or bytes
Returns the nagios native status codes:
Nagios Status
0 = OK (SWAP FREE more than WARNING) 1 = WARNING (SWAP FREE between WARNING AND CRITICAL) 2 = CRITICAL (SWAP FREE less than CRITICAL) 3 = UNKNOWN (Wrong usage)
Tested on: - Mac OS X 10.9.2
Used the check_swap_activity plugin, by Shu Wei Tan ([email protected]), as an example.
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!