This is a discussion on Re: generating .c file from MIB file within the SNMP Users forums, part of the Networking and Network Related category; Hi Dave, I tried following command - mib2c -c mib2c.scalar.conf -c mib2c.int_watch.conf -f netSnmpExamples netSnmpExamples.txt but ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi Dave,
I tried following command - mib2c -c mib2c.scalar.conf -c mib2c.int_watch.conf -f netSnmpExamples netSnmpExamples.txt but it doesnot read parameters defined in MIB file netSnmpExamples.txt to generate the skeleton of the MIB. Thanks, Sagar. On Fri, 2006-12-01 at 20:26 +0000, Dave Shield wrote: > On 29/11/06, Sagar Shukla <sagar_shukla@persistent.co.in> wrote: > > I couldnot find any options using mib2c utility to convert my MIB > > file into its equivalent .c file which I can compile as a loadable > > module. I want all the objects defined in MIB file to be part of the .c > > module source. > > Yes - that's the basic purpose of "mib2c". > Running it without any options would typically prompt you > for certain characteristics of the MIB objects you're trying to > model, and then generate a suitable template. > > What exactly have you tried so far? > > Dave ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?p...rge&CID=DEVDEV _______________________________________________ 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 |