Netdisco - MIB Repository
Max Baker
---------------------------------------------------------------------------
Version 0.1
---------------------------------------------------------------------------
    I'm trying to maintain a workable set of MIBS to use with Netdisco. 
    I would like to be able to do snmpwalks without having everything blow up.

    These mibs should cover all the devices listed in 
        http://snmp-info.sourceforge.net/DeviceMatrix.html

    All these parse correctly under net-snmp 5.0.6.

---------------------------------------------------------------------------
USAGE
---------------------------------------------------------------------------
    Copy the supplied snmp.conf to either
        /usr/local/share/snmp/snmp.conf
    OR
        ~/.snmp/snmp.conf

    Be sure to look in the file and change things to match your enviornment.

---------------------------------------------------------------------------
ADDING DEVICE SUPPORT
---------------------------------------------------------------------------
Mib setup:
1. Add all the mibs given by your vendor in a new directory
2. run mkindex
3. run chk_dups and then remove the dups in your new dir
4. add new directory to snmp.conf and netdisco.conf

SNMP::Info setup:
1. run walk_all on the device save the output to a text file.
   This will query the device for every mib on the system, to see what 
   data is available with the MIBs available.
2. check to see what data is missing in netdisco for your device after
   running a discover on it
3. create a new subclass of L2 or L3 for your device family
4. use the text file from step 1 to find missing info
5. add data and mib dependencies to new subclass
6. ask on mailing list for help

Send all changes back to mailing list so that everyone else can enjoy
the fruits of your labor and improve upon them.
---------------------------------------------------------------------------
MIB NOTES
---------------------------------------------------------------------------
allied:
    I painstakingly merged AThub-mib and Allied 4.1 MIB together to form one
    ATI-MIB

asante:

cisco:
    # V2 Mibs

    Last update of v2.tar.gz,v1.tar.gz - 11/01/04
    From: ftp://ftp.cisco.com/pub/mibs

    tar xvfz v2.tar.gz
    delete *CAPABILITY.my
    run ./rm_cisco_dups to get rid of RFC mibs and weird dups
    
    # V1 Mibs

    mkdir cisco_v1 &&  cd cisco_v1
    tar xvfz v1.tar.gz
    rm -f *V1SMI.my
    ./mk_index
    ./chk_dups
    run ./rm_cisco_dups on cisco_v1 to get rid of RFC mibs and weird dups
    cp RFC* ../rfc
    rm -f RFC*
    cp * ../cisco
    cd ..
    rm -rf cisco_v1

    (From http://sourceforge.net/mailarchive/message.php?msg_id=8111644)
    cd cisco && patch -p1 < ../cisco1.patch
    rm *.orig *.rej
    
rfc:
    From instructions inside of net-snmp

    cd net-snmp*/mibs
    cd mibs/ 
    make -f Makefile.mib allmibs
    cp -r /usr/local/share/snmp/rfc.orig rfc
    patch -d rfc < rfcmibs.diff
    rm *.orig
    download ftp://ftp.ietf.org/rfc/rfc1271.txt
    run smistrip on it

nortel:
    Includes :
        BayStack425.3.0.0.18.zip
        p16a1100.mib.zip (passport 1100)

    rm RFC* rfc*
    rm other rfcs in other names

net-snmp:
    From : net-snmp-5.1.2.tar.gz
    Grab all from mib/ dir
    ./rm_cisco_dups mib_index.txt net-snmp
    rm -f net-snmp/*.inc

hp:
    From: http://www.hp.com/rnd/software/MIBs.htm

    tar xvfZ mibs-nov03.tar.Z
    rm *.txt *.htm cisco-* rfc*
    rm ieee802* (moved to rfc/)
    rm hc-rmon.mib
    rm iana*

    seems there are two HP-SN-ROOT-MIB files?
    rm hp-sn-root.mib

foundry:
    From: ????

$Id: README,v 1.6 2004/11/14 05:30:33 maxbaker Exp $
