This is a discussion on Re: Can mib2c support more than one table in a MIB? within the SNMP Users forums, part of the Networking and Network Related category; On Wed, 31 Aug 2005 06:23:52 -0500 Paul wrote: HP> My experience with Mib2c is that you ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Wed, 31 Aug 2005 06:23:52 -0500 Paul wrote:
HP> My experience with Mib2c is that you can use it one more then one table, HP> but you'll end up with several very similar c files. The "secret" is to HP> run mib2c multiple times. For instance, if your mib defines 3 tables HP> (MyTable1, MyTable2, and MyTable3) then you can do HP> env MIBS="+MY_MIB" mib2c -c mib2c.mfd.conf MyTable1 HP> env MIBS="+MY_MIB" mib2c -c mib2c.mfd.conf MyTable2 HP> env MIBS="+MY_MIB" mib2c -c mib2c.mfd.conf MyTable3 Most conf files will deal with multiple tables in a MIB, but mib2c.mfd.conf is an exception. The suggested solution, running it once for each table, is the temporary workaround solution. -- 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.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ 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 |