Followup to the earlier mail
i modified the mib2c.conf files in the /usr/local/share/snmp/ directory and generated code using a template i wrote. Hope this is the right way to do it -SIGTERM amit --- Weitergeleitete Nachricht --- Von: "amit limaye" <[EMAIL PROTECTED]> An: Wes Hardaker <[EMAIL PROTECTED]> Kopie: net-snmp-coders@lists.sourceforge.net Betreff: Re: mib2c Datum: Tue, 7 Mar 2006 20:33:31 +0100 (MET) wes i eventually got it work my SMI had some line termination errors which was causing it not to find some nodes thus throwing the errors i set the debug level in snmp.conf and found out tht problem downloaded a new set MIB and everything works now. But now i m facing one more problem I want to generate a list OIDs from the MIB in a C Header file format some like #define SysDescr ".1.2.3.4.9. " and the likes Is mib2c capable of this or am i using the wrong tool ? -SIGTERM amit PS : I think i sent the reply only to wes so putting it back on the list > --- Ursprüngliche Nachricht --- > Von: Wes Hardaker <[EMAIL PROTECTED]> > An: "amit limaye" <[EMAIL PROTECTED]> > Kopie: net-snmp-coders@lists.sourceforge.net > Betreff: Re: mib2c > Datum: Tue, 07 Mar 2006 10:51:57 -0800 > > >>>>> On Fri, 24 Feb 2006 21:21:13 +0100 (MET), "amit limaye" > <[EMAIL PROTECTED]> said: > > amit> [EMAIL PROTECTED] mibs]# echo $MIBS > amit> HCNUM-TC > > amit> i have exported the MIBS variable > > I'm not sure exactly why you're running into that error. It appears > >from a really high-level view that what you're doing is right. > > I assume the HCNUM-TC mib is installed into a search-able path... > > You might try setting MIBS to +HCNUM-TC instead, though it should work > either way. > > -- > Wes Hardaker > Sparta, Inc. > -- "Feel free" mit GMX FreeMail! Monat für Monat 10 FreeSMS inklusive! http://www.gmx.net -- Echte DSL-Flatrate dauerhaft für 0,- Euro*! "Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders