Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有两个 MIB 文件包含两个具有相同名称的对象 (myentry)。我无法同时为代理加载,并且出现错误:
1> snmpa:load_mibs(snmp_master_agent, ["MY-MIB-1", "MY-MIB-2"])。
{error,{'load aborted at', "/home/artem/MY-MIB-1", {'mibentry 已定义', myentry}}}
不幸的是,我无法提供 MIB 文件。但无论如何它们都是有效的。
有没有办法解决这个问题?
如果没有对象树,就很难给出任何建议。但是如果对象挂在树的不同分支下,应该不会有问题。查看 otp_mibs 和 os_mon 应用程序以获得不错的参考设置。