On Thu, 2013-09-12 at 07:13 +0000, AR, Giridhar wrote: > ALL, > > We need a suggestion regarding a snmp response being sent. > Our application the sending the snmpbulkrequest of the table > nodeTable.X > to fetch the node details. snmp response contains the following OIDs > > a).1.3.6.1.6.3.15.1.1.2.0 > b).1.3.6.1.6.3.15.1.1.4.0 > > Due to this our application is timing out. We have increased the snmp > timeout still our application > is timing out. > > In which scenario does agent responds with these oids and the reasons > for sending it?
A getBulk request is an optimization. You send one request that says Here is a list of OID's. For the N first, give me the result of a getNext of them. For the rest of them, give me the result of M getNext requests starting at each of them. >From your description it sounds as if the getBulk have continued past the end of nodeTable.X and .1.3.6.1.6.3.15.1.1.2.0 is the first value after nodeTable. If that is the case then you need to keep track of the position of each answer to detect when you have overflowed. /MF ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders