Zenoss Swap Threshold Fixes

One of the recurring problems I have with Zenoss is fixing the swap threshold issue. Basically, if your swap space is less than 1G, you’re stuck with an alarm informing you that there’s less than 1G of swap total. The options are to hack it to increase the threshold (by decreasing the minimum-free threshold), or to make the alert use a percentage of the total.

Posting it here since it’s the second time I’ve had to find this…