[tkined] Use of Scotty as an SNMP Agent

gary.hicking@wwgsolutions.com
Thu, 5 Aug 1999 11:10:54 +0100

I am configuring a scotty session as an agent and using

$s instance <mibname>.<instance> <tclVariableName>

to instance variables of a private MIB. I also provide the appropriate get,set,
commit, rollback... bindings.

GET/SET'ing any 'single' object in a varbind list works fine, so the instancing
is correct here.
But when I attempt to SET (or GET) 'multiple' objects in a single varbind the
agent always rolls back and returns generr for the second object in the list.

Trying the same thing on the Scotty auto instanced variables in mib II seems ok.

ie $s set[ list [ list [sysContact.0 "some string" ] list [ sysLocation "string"
] ] ..... Works fine with both attributes accepted.

Is this a problem with the way I am instancing the objects in my private MIB?
How does scotty instance MIB II because this works?
Can I find out more about why 'generr' is returned?

Gary Hicking
----------------------------------------------
Wavetek, Wandel & Goltermann
Eurotech House, Burrington Way,
Plymouth, Devon, PL5 3LZ.
Tel : +44 (0) 1752 765707
Fax : +44 (0) 1752 783000
Mobile : +44 (0) 7771 822859
e-mail : gary.hicking@wwgsolutions.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.