Hi Wenjie,

I have the same question as you have, which is how to iterate the table row
by row instead of column by column. I posted it couple of months ago without
any answer yet.

I wonder if there is a way to choose which one to use during configuration
process.

If I could do that my snmpwalk would be 10 times faster in some cases.

If you find something let me know.

Thanks,

Gefei Jiang


-----Original Message-----
From: Zheng, Wenjie (Barclay) [mailto:barclay.zh...@alcatel-lucent.com] 
Sent: Tuesday, April 23, 2013 11:03 PM
To: Zheng, Wenjie (Barclay); Dave Shield
Cc: net-snmp-coders@lists.sourceforge.net;
net-snmp-us...@lists.sourceforge.net
Subject: Row operation in Net-SNMP

Hi, Dave et al,

I have a puzzle of Net-SNMP table operation, for example I have a table like
below:

a1-a2-a3-a4
b1-b2-b3-b4
c1-c2-c3-c4

In net-snmp, if I use iterator helper to implement the table handler, it
will translate the getbulk request to bunch of get request, the order is:
a1->b1->c1->a2->b2->c2.....

So it's first column then send column and so on. In my case, the data is
stored ourside in row order, like first row, second row.
a1->a2->a3->a4->b1->b2....
I can read the whole row one time, and then return all the values for the
whole row. Then I only need read outside data 3 times for the whole table.
But in the itorator helper, I will need to read outside data 12 times for
the whole table.

Do you have any good suggestion on this?

Thanks and have a nice day!
Barclay

----------------------------------------------------------------------------
--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Net-snmp-users mailing list
net-snmp-us...@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users



------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to