Re: How to avoid bulkget request in monotonically increasing order
pal snmp <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAJX137peV5nw+sBsFJ8jAX5j+Vzf9Lq0DSRtx9cnF0=xWmoo8A@mail.gmail.com> |
Can someone look into this and reply ? On Mon, Dec 10, 2012 at 10:16 AM, pal snmp <[email protected]> wrote: > The simple table I created has 1 index, and a few read-only columns. > The baic handler code was generated using mib2c w/ mib2c.old-api.conf > configuration. > In the handler code, I check for header_simple_table() and take the index > from name[*length-1]. But as this index doesn't increase monotonically, I > add the next index by myself for GetNext operation. > There isn't much to the handler other than what is generated by mib2c. > Does this help answer the questions? > Looking forward to hear about the potential solutions. > > > On Sun, Dec 9, 2012 at 7:37 PM, pal snmp <[email protected]> wrote: > >> All, >> I have implemented a simple table, whose index doesn't increase >> monotonically but rather increases by certain value. All index values are >> increasing and have certain MAX value. >> The SNMP Get works fine. For GetNext, the index value is incremented to >> the next index within the handler (right after the header_simple_table >> method if the method is not 'exact'). >> However, SNMPBulkGet always seem to request the instance IDs in a >> monotonically fashion making the table walk not work to what I want. >> >> I am missing something very obvious in the MIB handler implementation yet >> cannot find what it is. >> >> Can someone help answer this question? If you need further information , >> I can certainy provide. >> >> thanks >> > > ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users