将 MIBS 添加到 net-snmp 后无法加载 OID

发布于 2024-09-29 16:10:25 字数 366 浏览 0 评论 0原文

将 Oracle MIB 添加到 net-snmp 中,

中的mibs +OR-mib

我通过 shell 中 snmp.conf #MIBS=+OR-mib

#export MIBS

#snmp restart

但当我重新加载时:
#snmpwalk -v2c -c 私有 127.0.0.1 .1.3.6.1.4.1.111
我得到:
snmpv2-smi::enterprises.111= 此代理在此 OID 上没有此类可用

如何修复此问题?

谢谢

I add Oracle MIBs into net-snmp by:

mibs +OR-mib in snmp.conf

#MIBS=+OR-mib in shell

#export MIBS

#snmp restart

but when I reload by:
#snmpwalk -v2c -c private 127.0.0.1 .1.3.6.1.4.1.111
I get:
snmpv2-smi::enterprises.111= no such available on this agent at this OID

How do I fix this?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

握住你手 2024-10-06 16:10:25

在本地计算机上加载 MIB 并不会神奇地使数据可用。需要扩展代理来实现 MIB。 Net-SNMP 常见问题解答中对此进行了介绍:

我安装了新的 MIB 文件。为什么我无法查询它?

如果您安装了实现 oracle MIB 的 AgentX 代理,那么这可能是访问控制问题。请参阅有关访问控制的常见问题解答:

如何配置代理?

Loading a MIB on the local machine does not magically make data available. The agent needs to be extended to implement the MIB. This is covered in the Net-SNMP FAQ:

I've installed a new MIB file. Why can't I query it?

If you've installed an AgentX agent that implements the oracle MIBs, then it's likely an access control issue. See the FAQs on access control:

How do I configure the agent?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文