NAME

boop_snoot - fetches the results of sneck extend via SNMP, printing the return or acting as a Nagios style check

SYNOPSIS

boop_snoot [-v 1] [-c <community>] [-p] [-s] [-d]] [-n] [-r] <host>

boop_snoot [-v 2c] [-c <community>] [-p] [-s] [-d]] [-n] [-r] <host>

boop_snoot [-v 3] [-a <value>] [-A <value>] [-e <value>] [-E <value>] [-l <value>] [-n <value>] [-u <value>] [-x <value>] [-X <value>] [-Z <value>] [-p] [-s] [-d]] [-n] [-r] <host>

DESCRIPTION

This his basically a wrapper for smpget and nicely formatting the returned output.

GENERAL FLAGS

-p

Do not pretty print the return. Just prints the raw return, provided -s and -d is given.

-s

Do not sort the JSON keys.

-d

Only print the data hash in the JSON.

-n

Nagious mode. This will cause it to print a Nagios like message and exit code, for the use with Nagios, Icinga, or the like.

-r

Prints the raw return, equivalaent of -p, -s, and -d.

SNMP 1/2c FLAGS

-v <version>

SNMP version to use, 1, 2c, or 3. Defaults to 2c.

-c <community>

SNMP community to use for 2c or 3.

SNMP 3 FLAGS

-a <value>

Set authentication protocol (MD5|SHA|SHA-224|SHA-256|SHA-384|SHA-512)

-A <value>

Set authentication protocol pass phrase

-e <value>

Set security engine ID (e.g. 800000020109840301)

-E <value>

Set context engine ID (e.g. 800000020109840301)

-l <value>

Set security level (noAuthNoPriv|authNoPriv|authPriv)

-n <value>

Set context name (e.g. bridge1)

-u <value>

Set security name (e.g. bert)

-x <value>

Set privacy protocol (DES|AES)

-X <value>

Set privacy protocol pass phrase

-Z <value>

Set destination engine boots/time