简体   繁体   English

C#中的SNMP代理

[英]SNMP agent in c#

I am looking for various solutions for creating SNMP agent in c#. 我正在寻找用于在c#中创建SNMP代理的各种解决方案。 I found several companies that offer some products, but most of them use their own server. 我发现有几家提供某些产品的公司,但大多数公司都使用自己的服务器。 However, I found one solution that uses an agent extension. 但是,我发现了一种使用代理扩展的解决方案。

Two questions: 两个问题:

  1. Does anyone know other solutions in c# that use the framework of the SNMP service and create an extension agent? 有谁知道c#中使用SNMP服务框架并创建扩展代理的其他解决方案?
  2. Does someone knows about a tool that convert mib files to C# classes? 有人知道将mib文件转换为C#类的工具吗?

AgenPro is a tool which can generate code from MIBs. AgenPro是可以从MIB生成代码的工具。
But it generates stubs in Java to be used with the SNMP4J-Agent library. 但是它会用Java生成存根,以便与SNMP4J-Agent库一起使用。

You may try it out, to get a feel of an SNMP-agent. 您可以尝试一下,以获得SNMP代理的感觉。

If you plan to write extension to Microsoft SNMP agent, it may not support C# assemblies, 如果您打算将扩展名写入Microsoft SNMP代理,则它可能不支持C#程序集,

CodeProject article on this 关于此的CodeProject文章

If in fact you try to extend another SNMP agent, of course you should go to its vendor for assistance. 如果实际上您实际上尝试扩展另一个SNMP代理,则应该向其供应商寻求帮助。 Only the MIB to C# convertor provided by this vendor can be used to develop extensions for that agent. 仅此供应商提供的MIB到C#转换器可用于开发该代理程序的扩展。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM