Re: snmp agent(s)

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Fri, 8 Mar 1996 15:32:18 +0100

Hi!

Buz Owen <ado@BBN.COM> said:

Buz> I am using scotty with itcl, so maybe I can get the behaviour
Buz> I need using itcl namespaces.

Maybe. However, I am trying to keep scotty independend of any other
extensions and namespaces will take a long time to become part of
standard Tcl.

Buz> To me it doesn't make sense that the two agent sessions can
Buz> share the same mib tree, even in the same interpreter.

You can create multiple sessions on the same port, e.g. one for
SNMPv1, one for SNMPv2 and one for SNMPv2 USEC.

Buz> Is there any tcl code interpreted from within an snmp session
Buz> besides that given to snmp# bind or trace variable commands?

No.

Buz> Here's what may be a dumb tcl question. Without stcl, and
Buz> without escaping into C, is there any way to create extra tcl
Buz> interpreters from tcl?

Tcl7.5[ab][12] has a command `interp' to create interpreters from
within Tcl. The -agent argument will make more sense as soon as you
switch to the new version.

Juergen