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

NAME

make_snmpdata.pl - Tool to get SNMP data for the SNMP::Info testing framework

AUTHOR

Eric Miller

SYNOPSIS

make_snmpdata.pl [options] MIB-MODULE-1 MIB-MODULE-2

Options:

    -community SNMP Community
    -device    IP Address to query
    -ignore    Ignore Net-SNMP configuration file
    -mibdir    Directory containing MIB Files
    -version   SNMP version to use
    -help      Brief help message

OPTIONS

-community

SNMP Community, either 1 or 2c. Defaults to version 2c

-community 2c

-device

IP Address to query for the SNMP data. No default and a mandatory option.

-device 127.0.0.1

-ignore

Ignore Net-SNMP configuration file snmp.conf. If this used mibdirs must be provided

-ignore

-mibdir

Directory containing MIB Files. Mutiple directories should be separated by a colon ':'. Defaults to /usr/local/share/snmp/mibs.

-mibdir /usr/local/share/snmp/mibs/rfc:/usr/local/share/snmp/mibs/net-snmp

-version

SNMP version to use. Only version 1 and 2c are supported. Defaults to 2c

-version 2c

-help

Print help message and exits.

DESCRIPTION

make_snmpdata.pl will gather SNMP data by walking specified MIB files and output the data to a file which can be used by the SNMP::Info testing framework.