Windows XP 中未捕获 SNMP 陷阱
我有一个 SNMP 客户端,通过目标端口 162 发送我的 PC SNMP 陷阱。 我从我的电脑上运行嗅探器(Wireshark),发现确实收到了陷阱。 SNMP.exe 和 SNMPTRAP.exe 系统进程已启动并正在运行(我什至重新启动了它们),并且 SNMPTRAP.exe 正在侦听端口 162。我没有激活防火墙(无论是 Windows 还是第 3 方)。
问题:在我的 PC 上,我有三个不同的应用程序,全部注册到 SNMPTRAP.exe。这些都是现成的软件,不是我写的。 MG-SOFT Trap Ringer 是其中之一
他们。他们都没有抓住任何陷阱,我不知道失败到底在哪里。
您知道是什么原因造成的吗?或者我如何调试 SNMPTRAP.exe 进程?
谢谢!
I have an SNMP client, sending my PC SNMP traps with destination port 162.
I run a sniffer (Wireshark) from my PC, and see that the traps are indeed received.
The SNMP.exe and SNMPTRAP.exe system processes are up and running (I've even restarted them),and SNMPTRAP.exe is listening to port 162. I have no activated firewall (whether Windows or 3rd party).
The problem: On my PC I have three different applications, all registered to SNMPTRAP.exe. These are all off-the-shelf sw, not something I wrote. MG-SOFT Trap Ringer is, f.e., one of
them. NONE OF THEM CATCHES ANY OF THE TRAPS, and I have no idea where exactly the failure is.
Do you have any idea what may be causing this? Or how, perhaps, I can debug the SNMPTRAP.exe process?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以在“服务”面板中禁用 Microsoft Trap 服务。然后 MG-SOFT TRAP Ringer 就可以工作了。
原因很简单,当微软的 SnmpTrap.exe 监视端口 162 时,它会阻止其他应用程序(例如 MG-SOFT 的应用程序)监视该端口。
You may disable Microsoft Trap Service in Services panel. Then MG-SOFT TRAP Ringer will work.
The reason is simply that when Microsoft's SnmpTrap.exe monitors port 162, it prevents other applications, such as MG-SOFT's one from monitoring that port.
如何消除并解决这个问题,请尝试以下方法。
如何确定它没有捕获陷阱(因为你在wireshark中看到它们)。我的意思是,它们是否应该显示在某个 GUI 屏幕上,如果是,字段是否为空?或登录到某个文件,如果是,您确定正在检查正确的文件,您是否通过conf文件或命令行选项配置了陷阱需要登录哪个文件?
如果步骤 1 不起作用,请尝试在不同的电脑/笔记本电脑上安装或配置整个设置,看看它是否有效?
如果步骤 2 不起作用,请尝试不同的陷阱守护程序 (SNMPTRAP.EXE),存在大量开源程序,如果您可以使用不同的守护程序进行捕获,则说明您使用的 SNMPTRAP.EXE 存在一些问题。< /p>
我确信这些步骤之一应该对您有用,如果没有返回:)
How you can eliminate and corner the problem is, try below stuff.
How are sure its not catching traps ( since u see them in wireshark). I mean, should they be displayed on some GUI Screen, if yes are the fields empty? or logged into some file, if yes are you sure you are checking the correct file, have you configured either through conf files or command line options which file the traps need to be logged in?
If step 1 does not work, try installing or configuring the whole setup on different pc /laptop and see if it works?
If step 2 does not work, try a different trap daemon program ( SNMPTRAP.EXE), plenty of open source programs exist, if you could capture with different daemon program, then some issue with SNMPTRAP.EXE you are using.
I'm sure one of these steps should work for you, if not get back :)