Simple self-contained SNMP Agent example? (java/c# ideal)

不问归期 提交于 2019-12-07 12:03:27

问题


After not having a whole bunch of luck finding any SNMP libraries for .NET that can act as SNMP agents (that can be used in an OSS project - meaning proprietary libs are out), I am now looking at implementing a simple SNMP agent class in C#.

Can anyone provide any good examples or reference implementations of an SNMP agent (ideally nice & self contained), that I can use as a porting reference? Language isnt too important - but the simpler the better.

Thanks!


回答1:


My open source project #SNMP Suite has a tiny project named "TestAgent". It is a WinForms based small utility to test out very basic SNMP agent functionality. This is what I use to test out #SNMP MIB Browser.

It is far from mature. But if you like, it shows how to use #SNMP library to send and receive SNMP packets.

If you want to port something from other languages, snmp4j has a test agent too in Java.

http://sharpsnmplib.codeplex.com



来源:https://stackoverflow.com/questions/1671225/simple-self-contained-snmp-agent-example-java-c-ideal

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!