1 To generate the code to allow the agent to understand a MIB:
3 1) You will need to set the environment variable "MIBS" to "ALL" in your
6 setenv MIBS ALL (for csh)
7 MIBS=ALL ; export MIBS (for sh/bash)
9 2) Download the SNMP PERL module
11 Download the SNMP module from http://www.cpan.org/
14 http://cpan.valueclick.com/modules/by-category/05_Networking_Devices_IPC/SNMP/
16 3) Place your MIBs in /usr/local/share/snmp/mibs/
18 3) Run the mib2c script
20 perl -I<location of PERL SNMP module> mib2c <mib to generate code for>
24 perl -I~/perl.pl/nsPerl5.005_03/lib/site/i686-linux mib2c interfaces