check-swap
Description
Check system swap
Synopsis
check-swap
Installation
First, build this program.
go get github.com/n-rodriguez/go-check-plugins
cd $(go env GOPATH)/src/github.com/n-rodriguez/go-check-plugins/check-swap
go install
Next, you can execute this program :-)
check-swap
Usage
Options
-w, --warning= Sets warning value for Swap Usage. Default is 95% (default: 95)
-c, --critical= Sets critical value for Swap Usage. Default is 98% (default: 98)
Please execute check-swap -h
and you can get command line options.