[tkined] adding MIB files !

Benoit Papillault (papilla@cs.tamu.edu)
Thu, 28 May 1998 12:31:55 -0500 (CDT)

For all of you who search how to add MIB files to tkined, in order to use
them in the MIB browsers for example, I have an some solution. First, test
if the syntax of your MIB file is recognize by scotty by doing:

scotty
% mib load my_mib_file

Sometimes, you have to modify MIB file by replacing "::=" by "OBJECT
IDENTIFIER ::=". I don't why, but I know it works. There are also
dependencies between MIB files (indicating by FROM keyword at the
beginning of your MIB file). You must have loaded all dependends MIB
files before.

If all of this succeed, you can add in ~/.scottyrc (which is a file read
when scotty startups):

lappend tnm(mibs) my_mib_file (fullpathname)

or

lappend tnm(library) my_mib_dir
lappend tnm(mibs) my_mib_file (relative pathname)

In some versions of tkined (1.3.4 for ex.), scotty is launch with the -n
which means "skip initialisation file". In this case, my method doesn't
work. It works with tkined 1.4.5 for ex.

Hope it helps!

Benoit Papillault

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.