On Wed, Mar 4, 2015 at 11:51 AM, Thomas Besemer <thomas.bese...@gmail.com>
wrote:
> I am working with net-snmp 5.7.3, and will be using several Sub-Agents in
> my project, with fairly large amounts of data. I have noted that issuing a
> 'snmpbulkwalk' to Master Agent results in this broken down into GETNEXT
> requests to the Sub-Agent. This results in a lot of network traffic, as
> well as a tremendous number of context switches (everything running on same
> host).
>
> Is there support in the Sub-Agent to accept GETBULK requests from the
> Master? I have looked at the code, their appears to be some infrastructure
> in place, but it is not clear to me if it is fully functional.
>
> More so, is there a means to configure the Master to send GETBULK requests
> to the Sub-Agent?
>
This is something that I've been working on a little. Both of these are
relatively small tweaks. However, the bigger problem is that while the
subagent is processing the request, it's basically lost the scoping info
that the master agent has sent it, and so the response from the subagent
can include info from subtrees that the master didn't ask for. There's
code in the subagent to handle this for getnext, and we could do the same
for getbulk, except I was also concerned about the overhead of fetching
this data within the subagent - I wanted to find a way to retain the
scoping info while processing the request so that request processing could
be stopped.
I'd be happy to share what I have; if you're up for hacking too maybe we
should create a branch on github?
Bill
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders