阅读:2051回复:0
mib2c 转化mib文件出错,求教
执行mib2c -c mib2c.scalar.conf if 的时候提示下列错误。
You didn't give mib2c a valid OID to start with. IE, I could not find any information about the mib node "if". 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 -c mib2c.scalar.conf if You might wish to start by reading the MIB loading tutorial at: And making sure you can get snmptranslate to display information about your MIB node. Once snmptranslate works, then come back and try mib2c again. 我用snmpwalk IF-MIB可以成功,这是什么问题啊?我用的是net-snmp 5.3.4版本 |
|