asynch snmp gets

Kubat, Philip (PKubat@charter.com)
Wed, 1 May 1996 04:14:33 -0400

I am trying to use asynch snmp get calls with Scotty to retrieve a
snmpv1 "RMON style" history table. The table has several variables
stored in it with about 5,000 entries per variable. I am able to
"for-next" my way through this table using synch snmp gets without a
problem (well except for speed). So to increase the speed of this
"query" I thought that asynch gets would help, but I seems that there
are two problems with this:
1> I looks like all the request go out before any of the responses
are proceeded, I tried to use "snmp wait" but I lost the outstanding
responses.
2> If I let is run in on large loop I get either core, segmentation
faults or "to many tk requests outstanding" error. If I keep the loop
to about 150 cycles it works.

So...I figure a work around would be to create separate job for each
variable and let each job run simultaneously. But.. it seem that only on
job can run at a time. Is this right, can several jobs for be
processing at the same time?

How does Scotty deal with async gets? Many jobs? Does is process each
response as it receives it? Has any one written a script that might
lead me in the right direction?

My platform is Solaris x86 2.5 with Scotty 2.0.2,and Tcl 7.4
Thanks.