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



在向代理添加私有MIB时,我创建了.c和.h文件,这些文件应保存在agent/mibgroup文件夹中。但就我而言,mibgroup 文件夹不存在,所以我创建了它并将我的 .c 和 .h 文件保存在其中。之后我执行

./configure --with-mib-modules="dot1qVlanStaticRowStatus"

这给了我这个错误消息:

bash: ./configure: No such file or directory

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

您需要先

-M+/mib_dir/添加到snmpconf中,然后才能显式包含MIB模块。

例:

snmpwalk -DlinkTable -v2c -M+../mib/ -m+ALL -c pub localhost:1161 .1.3

最新更新