The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

hv_monitor - LibreNMS style JSON SNMP extend for hypervisor monitoring.

SYNOPSIS

hv_monitor [-c] [-b <backend>]

DESCRIPTION

For cron...

    */5 * * * * /usr/local/bin/hv_monitor > /var/cache/hv_monitor.json -c 2> /dev/null

For snmpd...

    extend hv-monitor /bin/cat /var/cache/hv_monitor.json

FLAGS

-b <backend>

The backend to use.

Defaults are as below.

    FreeBSD: CBSD
    Linux: Libvirt

-c

Compress the output using gzip and base64 encoded so it can be transmitted via SNMP with out issue.