SNMP

  • Thread starter Thread starter ZacBowling
  • Start date Start date
Z

ZacBowling

Does anyone have an idea of how to access the SNMP API or
WMI SNMP provider in C#/.NET? I need to query a Ascend
MAX's SNMP service with a custom MIB in .NET. I won't be
modify anything on the MAX (even though a SET isn't
anymore difficult then a GET or a WALK I don't think).
 
ZacBowling said:
Does anyone have an idea of how to access the SNMP API or
WMI SNMP provider in C#/.NET? I need to query a Ascend
MAX's SNMP service with a custom MIB in .NET. I won't be
modify anything on the MAX (even though a SET isn't
anymore difficult then a GET or a WALK I don't think).

It's not too difficult to write your own SNMP API. I show a simple
example of doing this in Chapter 12 of my "C# Network Programming"
book. You can freely download the example code from the Sybex web
site. The SNMP.cs class contains the methods to do a simple Get or
GetNext SNMP function. There are a couple of sample applications that
demonstrate how to use the class to query SNMP devices. Hope that
helps out some. Good luck.

Rich Blum - Author
"C# Network Programming" (Sybex)
http://www.sybex.com/sybexbooks.nsf/Booklist/4176
"Network Performance Open Source Toolkit" (Wiley)
http://www.wiley.com/WileyCDA/WileyTitle/productCd-0471433012.html
 
Back
Top