make_snmpdata.pl - Tool to get SNMP data for the SNMP::Info testing framework
Eric Miller
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
SNMP Community, either 1 or 2c. Defaults to version 2c
-community 2c
IP Address to query for the SNMP data. No default and a mandatory option.
-device 127.0.0.1
Ignore Net-SNMP configuration file snmp.conf. If this used mibdirs must be provided
-ignore
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
SNMP version to use. Only version 1 and 2c are supported. Defaults to 2c
-version 2c
Print help message and exits.
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.
To install SNMP::Info, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SNMP::Info
CPAN shell
perl -MCPAN -e shell install SNMP::Info
For more information on module installation, please visit the detailed CPAN module installation guide.