Re: Multiple MibWalks

Thorsten Geelhaar (tgeelhaa@funghi.Materna.DE)
Wed, 13 Nov 1996 12:50:14 +0100

Juergen Schoenwaelder <schoenw@cs.utwente.nl> said :

If you have a 1-to-n relationship, you need a somewhat more complex
solution. Note that you can nest walk commands:

$s walk x {Mibvar1 Mibvar2 .... Mibvar20} {
$s walk y {Mibvar2 MibvarX ...} {
}
}

This should do much the same as your solution but it does not mix
async and sync SNMP operations. However, this one will not work if
your agent sends tooBig errors or has sparse tables.

You can build a completely asynchronous solution for both cases by
using the wait command in the right moment. However, this would get
too difficult to explain it here.

###################################################################

Yes, it is a 1-to-n relationship. With completely asynchron you mean
something like this ?

while not all records table 1 {

$s getnext table 1 ...
$s wait

while not all records table 2 {

$s getnext table 2 ...
$s wait
}
show_line_with_data_of_Tab1_2
}

Perhaps you can give me an anwser on following question,too :

If i make an synchron reqeust like "walk" can i get X-event meanwhile.
Normaly not i think, but i want to be sure .

And my second question is what in the hell is a tooBig error ( perhaps the
restriction on 255 byte per paket ? ) ?

Thanks Thorsten

-----------------------------------------------------------------
Thorsten Geelhaar Telefon: +49 231 5599 399 |\/\/\/|
Dr. Materna GmbH Fax : +49 231 5599 100 | |
| |
Vosskuhle 37 e-mail : Thorsten.Geelhaar@materna.de | (o)(o)
C _)
D-44141 Dortmund GERMANY | ,___|
| /
"We're all mad here. I'm mad, You're mad." /____\
"How do you know I'm mad?" said Alice.
"You must be" said the Cat, "or you wouldn't have come here."

------------------------------------------------------------------