I have been trying to generate header files from the MIB using mib2c. What i am interested in is generating the the OID list from it.
This is wht my my sheel output look like [EMAIL PROTECTED] mibs]# echo $MIBS HCNUM-TC i have exported the MIBS variable When i run mib2c it give me this error ------------------------------------------------------------------------- You didn't give mib2c a valid OID to start with. IE, I could not find any information about the mib node "". This could be caused because you supplied an incorrectly node, or by the MIB that you're trying to generate code from isn't loaded. To make sure your mib is loaded, run mib2c using this as an example: env MIBS="+MY-PERSONAL-MIB" mib2c You might wish to start by reading the MIB loading tutorial at: http://www.net-snmp.org/tutorial-5/commands/mib-options.html And making sure you can get snmptranslate to display information about your MIB node. Once snmptranslate works, then come back and try mib2c again ---------------------------------------------------------------------- snmptranslate works fine for me Can someone please help me here -SIGTERM amit -- DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert: GMX DSL-Flatrate 1 Jahr kostenlos* 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 [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
