This is a discussion on Re: Multiple Index in snmp table within the SNMP Coders forums, part of the Networking and Network Related category; Hi, I checked the udp and tcp tables. I generated the code with few options Ex: mib2c nodename followed by ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
I checked the udp and tcp tables. I generated the code with few options Ex: mib2c nodename followed by options 2 -> 2-> 2. But this code is different than the one in tcp and udp code and am facing problems with this code. Please give me the options to be given to mib2c comiler to generate similar code as in tcp and udp tables? Thanks, Anusha Dave Shield wrote: >On Fri, 2005-11-18 at 15:50 +0530, M.Anusha wrote: > > >>I am using net-snmp-5.2.1.2. Is there a support for accessing tabular >>variables with multiple indices? >> >> > >Yes. >See (for example) the 'udpTable' or 'tcpConnTable' > > > >> When I gave TABLE_SIZE parameter in >>"header_simple_table" as the max number of rows in that table, by >>default net-snmp is considering that table to have single index >> >> > >A "simple" table has a very specific meaning - see 'AGENT.txt'. >In particular, it only has one (integer) index. > >It's perfectly possible to implement more complex tables - just >not as a "simple table". > >Try using the 'mib2c' to generate a suitable framework for your MIB. >See the FAQ for more information. > >Dave > > >------------------------------------------------------- >This SF.Net email is sponsored by the JBoss Inc. Get Certified Today >Register for a JBoss Training Course. Free Certification Exam >for All Training Attendees Through End of 2005. For more info visit: >http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click >_______________________________________________ >Net-snmp-coders mailing list >Net-snmp-coders@lists.sourceforge.net >https://lists.sourceforge.net/lists/...et-snmp-coders > > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |