jorge@swat.cray.com (Jorge Osorio) said:
Jorge> Our project leader has given me scotty-1.2.0, so I can use it
Jorge> to send SNMP commands to a snmp (version 2) daemon.
Jorge> What I do is get a session handle and configure it with the
Jorge> -dtsparty and -srcparty options; then I do a "get oid" and
Jorge> scotty core dumps.
You did not define the context object identifier using the -context
option. This is required in SNMPv2CLASSIC. Scotty tries to check if
a context is defined, but unfortunately the check dumps core. :-(
Jorge> I wonder if the snmp.V2 stuff bundled in scotty-1.2.0 works
Jorge> properly or am I missing something?
As I said a few days ago, the SNMPv2CLASSIC stuff is a dead horse. We
have implemented authentication without complete time synchronization.
Scotty talks SNMPv2CLASSIC with the ISODE agent and the CMU agent.
Jorge> BTW: Am using tcl7.3 (we don't use tk though.). My system is a
Jorge> SunSparc running Solaris 2.4
I would recommend that you switch to scotty-2.0.1/tcl7.4/tk4.0 (tk4.0
is just needed for the event loop) as soon as possible as there are a
number of SNMP related bugs that were fixed over the last 9 months.
And the core dump described above wil be fixed in the next patch.
Juergen