NAME

sneck_check - runs a Monitoring::Sneck::Checks check from the shell

SYNOPSIS

sneck_check [-t <seconds>] [-a] <check> [<args>...]

sneck_check -h|--help [<check>]

sneck_check <check> -h|--help

sneck_check -l|--list-checks

DESCRIPTION

Runs a check the same as sneck does for perl:<check>, prints its output, and exits with its code, so it can also be used as a nagios plugin. A check that can not be loaded, -1 for sneck, exits 3.

FLAGS

-t <seconds>

Seconds to give it.

Default :: 30

-a

Print stdout and then stderr, labeled, instead of the two combined.

-h, --help

Print this, or the docs for the check if one is given, what it is for and the options it takes. Before or after the check is the same.

-l, --list-checks

List the checks that can be found, one a line, with what each is for.

EXAMPLES

sneck_check http -H www.example.org -S -w 1 -c 2
sneck_check -t 10 https_cert -H www.example.org -w 30 -c 14
sneck_check --help https_cert
sneck_check --list-checks