ask questions about mib2c
"蔷<Qiang Hu>" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
I have been trying to generate header files from my MIB using mib2c.
What i am interested in is generating the the OID list from it.
This is what my my sheel output look like
[root@localhost net-snmp-5.3.0.1]# echo $MIBS
HCNUM-TC
i have exported the MIBS variable and do the command "snmptranslate
-IR -TP **MIB" and successfully
but 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
----------------------------------------------------------------------
Can someone please help me here and whether there is some configuration problem
thanks in advance!
--
qiang
-------------------------------------------------------------------------
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?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users