Snmp 代理文件夹中不存在mibgroup文件夹

Snmp 代理文件夹中不存在mibgroup文件夹,snmp,net-snmp,mib,Snmp,Net Snmp,Mib,在向代理添加私有mib时,我创建了.c&.h文件,该文件应保存在agent/mibgroup文件夹中。但是在我的例子中,mibgroup文件夹不存在,所以我创建了它并将.c&.h文件保存在其中。之后,我执行 ./configure --with-mib-modules="dot1qVlanStaticRowStatus" 这给了我这个错误信息: bash: ./configure: No such file or directory 这意味着配置脚本不存在。我的问题是,我从哪里获得要执行的脚

在向代理添加私有mib时,我创建了.c&.h文件,该文件应保存在agent/mibgroup文件夹中。但是在我的例子中,mibgroup文件夹不存在,所以我创建了它并将.c&.h文件保存在其中。之后,我执行

./configure --with-mib-modules="dot1qVlanStaticRowStatus"
这给了我这个错误信息:

bash: ./configure: No such file or directory

这意味着配置脚本不存在。我的问题是,我从哪里获得要执行的脚本或mibgroup文件夹

您需要在
snmpconf
中添加
-M+/mib\u dir/
,然后才能显式包含mib模块

例如:


snmpwalk-DlinkTable-v2c-M+../mib/-M+ALL-c pub localhost:1161.1.3
您需要将
-M+/mib\u dir/
添加到
snmpconf
中,然后才能显式包含mib模块

例如:

snmpwalk-DlinkTable-v2c-M+../mib/-M+ALL-c pub localhost:1161.1.3