HELP, PLEASE!

Alex Santalala (santatal@lrc.di.epfl.ch)
Thu, 03 Apr 1997 18:15:08 +0200

Hello everybody,

My name is Alex Santatala. I'm doing my diploma-thesis in the framework of
network management. I began 5 months ago but I'm still a beginner in this
subject.
I've read many man pages and references related to the software package
Tcl/Tk, Scotty and Tkined, and I went on my own until now, but I've arrived to
a "dead point". (and I must work quite quickly... :( )

Although I've many doubts, I will try to ask only the most important ones in a
concise way:

I'm having manager and agent snmp sesions in a Lynux system with scotty2.1.5
and tkined1.4.5.
I've dessigned a MIB with lots of tables.
1...Where do I have to load the MIB in order to be able to use the MIB Browser
as well as other tkined tools? and also to avoid typing mib load... every time?

I want to use the MIB structure only as a virtual database, since all the
tables of the MIB are duplicated in a MSQL database.
2...How do I access to a particular virtual row of my MIB making use of my
defined indexes? Should I make a walk ?

Imagine a table

+-----------------+----------+--------+----------+-----+
| Switcharray | Type | Length | Not Null | Key |
+-----------------+----------+--------+----------+-----+
| cpnindex | int | 4 | N | N |
| ringindex | int | 4 | N | N |
| switchaction | int | 4 | N | N |
| switchinput | int | 4 | N | N |
| switchoutput | int | 4 | N | N |
+-----------------+----------+--------+----------+-----+
This is the Msql definition, the MIB one is analog.
cpnndex and ringindex are my indexes.
If I would like to read the , how could I do it? (Perhaps doing oriented walks?

3..If I wanted to update a parameter of a row, e.g change swithaction of the
cpn 1 and the ring 2 from x to y, how could I point exactly to this instance
in a set operation? How it is usually done?

4..In order to let an agent receiv set or get requests from the manager the
agent script must contain the definition of the mib instances with mib
instance..., but

how could I do it in advance if I don't know which instances I will have ?

5..Can I create dialog boxes in Tkined.
How can I bind them the correspondant tcl/Scotty scripts.

Excuse me for the size of the e-mail and also if the questions are too silly
or simple but I'm a beginner.

I hope somebody to ask me some of this questions as soon as possible, because
I'm really in hurry.

Thanks in advance.

-------------------------------------------------------------------------
Alex Santatala Morales santatal@lrc.epfl.ch
Departement d'Informatique http://lrcwww.epfl.ch/~santatal
(not finished)
Laboratoire de Reseaux de Communication Tel: +41 21 693 67 81
(Communication Networks Laboratory) Fax: +41 21 693 ????
DE - LRC EPFL 1015 Lausanne Suisse/Switzerland
-------------------------------------------------------------------------