如何在Windows中进行SNMP查询?
由于我是 SNMP 的菜鸟,所以我有一个小问题要问你。我已经用Java编写了一个程序来进行SNMP查询或正常的命令行操作等。我已经实现了所有连接和功能,但据我所知,我需要在我的PC上安装一些特殊的东西或其他东西来进行SNMP查询。你能告诉我我应该有什么,我应该用什么来进行 SNMP 查询
谢谢大家
Since I am a noob about SNMP I will have a little question for you. I have written a program in Java to make SNMP queries or normal command line operations etc. I have implemented all connections and functions but as I know I need something secial installed in my PC or something else to make a SNMP query. Can you please tell me what should I have , what should I use to make a SNMP query
Thank you all
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不确定您的问题是否实际上是从 Java 进行 SNMP 查询,或者您希望 PC 上有某些东西来查询信息。
如果您想从 Java 进行 SNMP 查询,那么您将需要使用 SNMP 库,例如 http://www.snmp4j .org/。这将允许您向支持 SNMP 的设备发出 SNMP 查询。
如果您想将 Windows 计算机配置为响应 SNMP 查询,则最好参阅 http://technet.microsoft.com/en-us/library/bb726987.aspx 其中提供了在 Windows 2003 Server / Windows XP 上进行配置的介绍和说明。如果您正在使用更高版本的操作系统,还有一个链接。
I'm not sure if your problem is actually making the SNMP queries from Java, or that you want something on your PC to query for information.
If you want to make SNMP queries from Java, then you will want to use an SNMP library such as http://www.snmp4j.org/. That will allow you to make SNMP queries out to SNMP enabled equipment.
If you want to configure your Windows machine to respond to SNMP queries, then best refer to the document at http://technet.microsoft.com/en-us/library/bb726987.aspx which gives an introduction and instructions for configuring on Windows 2003 Server / Windows XP. There is also a link for later operating systems if you are using those.