check_swap plugin tests the locally available swap space:
The warning limit can be specified as a percentage or as an integer, as with
check_disk, but the integer value is specified in bytes, not in kilobytes!
If at least 10 percent should remain free, specify
-c 10%. The integer specification refers to the remaining free space, too.
Critical limit, similar to the warning limit.
Tests the threshold values for each swap partition individually.
The following example tests to see whether at least half of the swap space is available. If there is less than 20 percent free swap space, the plugin should return a critical status. After the
| sign the program ...