Build precise queries to find exactly what you need
Press ESC to close
@alext
Favorites0
Views
Projects0
The last elif condition uses an undefined variable, ${USED_SWAP} which was probably replaced by ${SWAPOUT_ACTIVITY}. Just a heads up in case the check returns UNKNOWN status when it should be CRITICAL. Also, the double pipes can be replaced with -ge, for the two elifs.
Reviewed 12 years ago