net-snmp已经装好,简单的get操作也可以用了 ,现在要写agent的代码,所以先用mib2c创建.c .h 执行mib2c -c mib2c.scalar.conf sqkedacomtest ERROR: You don't have the SNMP perl module installed. Please obtain this by getting the latest source release of the net-snmp toolkit from http://www.net-snmp.org/download/ . Once you download the source and unpack it, the perl module is contained in the perl/SNM...
我定义了如下的mib文件,使用mib2c生成.h .c文件时总是提示如下错误: ============================ERROR INFO START================== Cannot find module (AlarmTable-mib): At line 0 in (none) You didn't give mib2c a valid OID to start with. IE, I could not find any information about the mib node "FirstTable-mib". This could be caused because you supplied an incorrectly node, or by the mib that you're ...
1、生成mib库问题 我使用mib Builder已经创建一个kdtestmib.my文件(且check SMI Consistency成功),然后在mib Compiler中打开kdtestmib.my 编译,编译提示成功但是没有生成任何的东西。请问这个mib compiler 作用是什么,怎么用的,我的理解是编译完应该有个mib文件,比如kdtestmib.mib 2、生成.c .h工具 Net-snmp下面有默认的 mib2c工具 我还看到一个mibcomp工具,请问这个2个工具哪个好,编译出来的东西net-snmp是否都能用。 ...
http://www.oidview.com/mibs/0/IF-mib.html This is the mib module IF-mib from Standards / RFCs. This OID tree represents the compiled SNMP mib module IF-mib and includes only high-level compiled information. For more detail (mib object descriptions, Unit Types, Textual Conventions, Macro-definitions, etc.), please download the raw SNMP ASN.1 mib test file by clicking on the ZIP icon above. To quer...
介绍mib的文章 http://blogimg.chinaunix.net/blog/upfile/061201112739.pdf 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/27345/showart_208663.html
本帖最后由 chdprince 于 2014-06-10 11:34 编辑 linux系统中使用export mibS=ALL后再 使用snmpwalk命令就会出现很多结果,怎么取消使用所有mib库,恢复使用默认的mib库