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.
我想使用 snmp 构建一个应用程序来搜索我的 LAN 并探索共享一些资源的设备。我需要一些帮助才能开始,我尝试使用 net-snmp 做同样的事情,但仍然没有成功。
SNMP 在 UDP 上,因此您可以简单地进行广播。
在这种情况下,net-snmp 超时是很正常的,因为没有 SNMP 代理愿意响应您,或者同一个 LAN 中没有 SNMP 代理。