Re: SNMP

Juergen Schoenwaelder (schoenw@sol)
Fri, 14 Jan 94 19:05:22 +0100

Hi!

Karen> I was just wondering if a tcl interpreter supporting SNMP has been
Karen> released yet.

Karen> Thanks.

Karen> --Karen

There have been tcl snmp extensions written by Paul Henning Kamp for
some time now:

ftp.ibr.cs.tu-bs.de: /pub/languages/tcl/contrib/tcl_snmp

The scripts in the tclnm directory of tkined were written based on
this package.

We are working on our own snmp / snmpV2 implementation that will
become part of scotty in the near(?) future, but now we have an
unfortunate situation: Our own snmp is not ready and the code written
by P. H. Kamp does not compile with tcl7.3.

So I took this afternoon and hacked Paul's snmp package to compile
with tcl7.3, removed the curses interface :-), removed the dependence
of extended tcl and made it an experimental part of scotty. This new
scotty is now in /pub/local/scotty-0.8a.tar.Z. You have to use the
option --with-snmp when configuring scotty.

I will not fix the snmp code written by P.H. Kamp since we are working
on our own version. Patches that go in without problems can be send
to us, but I will not try to locate errors and make the source more
portable.

You should also note that the snmp interface to tcl will change in a
future version. So be careful when writing your own scripts. It will
be a good idea to make wrapper around snmp tcl statements so you can
upgrade to a newer version without larger rewrites.

Juergen