This is a discussion on Re: Processing unsupported objects within the SNMP Users forums, part of the Networking and Network Related category; Hi, Thanks for the patch. It is working fine with 80 interfaces, I am required to specify the list of ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
Thanks for the patch. It is working fine with 80 interfaces, I am required to specify the list of valid columns. SrIdhar On Fri, 22 Apr 2005 11:07:25 -0400, "Robert Story" <rstory@freesnmp.com> said: > On Fri, 22 Apr 2005 14:49:32 +0530 Sridhar wrote: > SS> RS> Nope. What you've done with valid columns would work just fine, > *if* > SS> RS> the iterator helper used that data. Unfortunately, it does not. > SS> > SS> OK. In any way, can I get the column under query in the > SS> ifXTable_get_first_data_point () and ifXTable_get_next_data_point () > SS> functions ?? If the column under query matches my invalid column list > SS> then I immediately return a NULL from the function. > > Unfortunately, that is the case that the table helper handles for you. > > Try the attached patch, and see if it helps. > > > SS> RS> You get some benefit from the table helper, which does use it. A > SS> RS> get-next request for an invalid column will automatically be > SS> RS> incremented to the next valid column. but once it passes control > to the > SS> RS> iterator helper, the valid_columns data isn't used. > SS> > SS> Can you please point to me an example code that I can trace ? > > There is no example code, just the actual code. If you want to see how > the > table helper works, it's all in agent/helpers/table.c. > > > -- > NOTE: messages sent directly to me, instead of the lists, will be deleted > unless they are requests for paid consulting services. > > Robert Story; NET-SNMP Junkie > Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> > Archive: > <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users> > > You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users |
![]() |
| Thread Tools | |
| Display Modes | |
|
|