On Wed, Jan 24, 2007 at 07:02:01PM +0200, Yaniv S. wrote:
> Hello all,
>
> I'm Intrested to add an Implementation of get-range method to an snmp
> client for academic reasons (resarch and such).
> Get Range was defined in Internet Draft but wasn't approved as RFC.
I personally would very much appreciate an implementation. If there
are things missing or unclear in the ID, please let us know. The home
for this ID was the NMRG, so any question related to the getrange
operation in general may be carried to the NMRG mailing list. Note
that we never pushed this document forward - perhaps we were just
waiting for someone to implement and thereby validate the document.
> My question is whether I'm able to implement it as a different
> module on your code? I need to retrieve data from the MIB and to
> handle a different PDU (same structures different variables). I'm
> sorry for not reading the entire manuals it is just I'm short of
> time and exploring several Agents.
You have to dive into the agent core and you have to mimic the getbulk
implementation code and iterate using getnext's internally to produce
a getrange response. If done right, all MIB module instrumentations
should continue to function with the getrange PDU. I assume the amount
of code that needs to be written is at the end rather small; finding
the right 'spots' takes probably most of the work for someone not
familiar with the internals of the agent core.
/js
--
Juergen Schoenwaelder {International|Jacobs} University Bremen
<http://www.eecs.iu-bremen.de/> P.O. Box 750 561, 28725 Bremen, Germany
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders