[tkined] problems w/ snmp get request on winNT/win95?

Debby Stopp (debby@ixiacom.com)
Thu, 9 Apr 1998 11:37:06 -0700

We're using Scotty 2.1.8, Tcl8.0, winNT/win95.

When I try to access a mib variable w/an invalid instance, the get request
returns "noSuchName 1 ...", which would be fine if all execution of my
script didn't stop... in addition, if I try to assign a variable to the
return value of the get request, nothing gets assigned.

For example:

.....
set me [snmp session -address myIp]

set result [$me get myVar.1.1.0.2] # where 1.1.0.2 is not a valid instance
puts "my oid is: myVar.1.1.0.2"
puts $result
puts "all done w/get"
return $result
.....

What I get is:

noSuchName 1 {1.3.6.1.4.1.blah.blah.blah.1.1.0.2 NULL {}}

Nothing else is executed after the noSuchName message & my script appears
to stop executing completely.

any ideas? ... is this a bug?...

Debby Stopp
Ixia Communications
debby@ixiacom.com
hardev@ixiacom.com

--
!! 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.