Deploying SNMP Reporter (Agent) in C # (should be done on Mono)?

I am trying to do some additional statistics collection in a C # server application - I have about 20 variables that I would like to report to network monitoring tools; so I assume (hopefully correctly) that SNMP is the right way.

However, there are two problems:

  • An application is an open source server that does not include its own components, and
  • It should run in Mono under * nix environments, as well as through Windows through .NET.

The library #SNMP at http://sharpsnmplib.codeplex.com/ seems like a promising solution - but there are no samples I can find; and my knowledge of SNMP is missing.

Does anyone have any (quick) examples of providing data through SNMP? (ideally, using the library under the licenses of LGPL, X / MIT, BSD or Zlib)

Help appreciate

Edit: The problem is the lack of libraries that can act as SNMP servers, if someone knows about them, this will probably solve the problem.

Edit # 2: I am mainly looking for an SNMP server library or an example implementation of links.

+5
source share
2 answers

As an author :) I suggest you check out the TestAgent sample. It can send TRAP or INFORM messages to the IP address you specify.

, , SNMP.

+6

#SNMP ( , , ). , , - snmp snmpget Process. , ( ).

+2

All Articles