Re: [tkined] getbulk pdu

From: Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Date: Thu Feb 01 2001 - 14:24:37 MET


>>>>> Mani Chinnappan writes:

Mani> The problem

Mani> - The getbulk-request doesn't seem to get processed correctly by
Mani> the agent: e.g doing getbulk requests for the ifTable (in which
Mani> there are 148 entries)

[...]

The current agent code "downgrades" a getbulk request to a getnext
request. This is actually to some extend legal, but definately not the
purpose of having getbulk in the first place. Fixing the code to do a
better job however requires some serious work since you need to take
care of the message size restrictions and SNMPv2c has no way to
communicate the max. message size between the generator and responder.
So what the only safe thing to do is to assume 484 bytes, which will
give you only a very limited speedup.

Mani> * $s getbulk 1 3 "sysName ifIndex" only returns value for
Mani> sysName.0 and ifIndex.1 and generates an error %E is "tooBig"

This is definitely a bug - you should not get a tooBig error. I
checked the 3.0.0 snapshot code and it does not show this behaviour
anymore.

Mani> - I assume the problem lies at the scotty agent side since the
Mani> scotty manager can correctly handle getbulk when it is talking
Mani> with a non-scotty agent implementation.

Correct.

Mani> - my question is that what needs to be done at the scotty AGENT
Mani> side to process these getbulk requests correctly?

Someone must fix the agent code.

/js

-- 
Juergen Schoenwaelder      Technical University Braunschweig
<schoenw@ibr.cs.tu-bs.de>  Dept. Operating Systems & Computer Networks
Phone: +49 531 391 3289    Bueltenweg 74/75, 38106 Braunschweig, Germany
Fax:   +49 531 391 5936    <URL:http://www.ibr.cs.tu-bs.de/~schoenw/>

-- !! This message is brought to you via the `tkined & scotty' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>. !! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.



This archive was generated by hypermail 2b29 : Thu Jan 03 2002 - 14:56:26 MET