Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
alext
byalext, April 1, 2013
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.