Re: SNMP

Allan Brighton (allan@ramjet.multinet.DE)
Wed, 19 Jan 94 12:35:09 +0100

Hi all,

I'm using tcl_snmp (from the tcl_nm package) and I came across a bug
that comes up when you try to do a get on too many oids at once.
Has anyone fixed this bug in some version somewhere ?

Here is the test script that causes the bug. If you remove one
oid from the list, it runs ok (nat is an rmon probe):

-----------------------------------------------------------------------
# test snmp bug

puts "testing snmp"
set s [snmp open nat]
snmp default $s prefix .1.3.6.1.2.1.16.1.1.1
set oids {.4.1 .5.1 .6.1 .7.1 .8.1 .9.1 .10.1 .11.1 .12.1 \
.13.1 .3.1 .14.1 .15.1 .16.1 .17.1 .18.1 .19.1}
snmp get $s -l $oids pdu
puts "result: $pdu"
exit

-----------------------------------------------------------------------

Thanks,

Allan Brighton
alan@multinet.de