Skip to content

Instantly share code, notes, and snippets.

@erikanderson
erikanderson / check_swap_paging_rate.sh
Created March 3, 2017 15:21 — forked from jehiah/check_swap_paging_rate.sh
Nagios Monitor for the rate pages are swapped in/out
#!/bin/bash
# Show the rate of swapping (in number of pages) between executions
OK=0
WARNING=1
CRITICAL=2
UNKNOWN=-1
EXITFLAG=$OK
WARN_THRESHOLD=1