Auto-loading MIBS under scotty 2.1.0

Graeme McKerrell (graemem@pdd.3com.com)
Wed, 19 Jun 1996 15:40:50 +0100

This is a multi-part message in MIME format.

--------------4487EB716201DD5652BFA1D7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi I'm interested in configuring scotty to NOT autoload MIBS. The reason for
this is that for agent testing it is desirable to only use the MIB items
defined for a particular device.

I have included a "set tnm(mibs) {}" in my site/init.tcl file before
I perform any mib access calls BUT the default MIBs are already loaded!!

i.e.
rfc1155.smi
rfc1902.smi
rfc1903.tc
compat.tc
rfc1906.mib
rfc1907.mib
rfc1213.mib
rfc1910.mib

Having checked the sources I see that these are explicitly loaded in tnmMibTcl.c

WHY HAS THE FLEXIBILITY OF USING THE "init.tcl" FILE BEEN COMPROMISED?????

Under the old version of scotty the user had complete control over which files
were autoloaded, and hence performing MIB walks would only produce those items
which a user was particularly interested in.

As it currently stands, scotty 2.1.0 forces the session to 'know' about various
SNMP-v2 MIB items whether or not they are required.

What I would suggest is a better way of doing this is to have these default *.tc
*.smi *.mib files specified in the tnm(mibs) variable, Thus giving the user the
option to override these if required.

yours
Graeme

--------------4487EB716201DD5652BFA1D7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename=".sig2"

_______________________________________________________
/ ___ | \
| ,' ` | """ |
| | ;--, .~~~, .~~~, .~~,~~. .~~~, | O O |
| | ``; | | | |---' | ! | |---' | ` ^ ' |
| `.__,' .!. `._.'. `._.' `. .' `._.' | (\_/) |
| | \_/ |
| graemem@pdd.3com.com | |
| | |
\_______________________________________________|________/
--------------4487EB716201DD5652BFA1D7--