The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

sneck - a boopable LibreNMS JSON style SNMP extend for remotely running nagios style checks akin to NRPE

SYNOPSIS

sneck -u [-C <cache file] [-f <config file>] [-p] [-i]

sneck -c [-C <cache file] [-b]

sneck [-f <config file>] [-p] [-i]

DESCRIPTION

For a description of the config file format and output, please see Monitoring::Sneck.

FLAGS

-f <config file>

The config file to use.

Default :: /usr/local/etc/sneck.conf

-p

Pretty it in a nicely formatted format.

-C <cache file>

The cache file to use.

Default :: /var/cache/sneck.cache

A secondary cache file based on this name is also created. By default it is /var/cache/sneck.cache.snmp and is used for storing the compressed version.

-u

Update the cache file. Will also print the was written to it.

-c

Print the cache file. Please note that -p or -i won't affect this as this flag only reads/prints the cache file.

-b

When used with -c, it does optional LibreNMS style GZip+BASE64 style compression.

-i

Includes the config file used.