SNMP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ZacBowling

    SNMP

    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).
  • Rich Blum

    #2
    Re: SNMP

    "ZacBowling " <zac@ocs-dash-tx.com> wrote in message news:<04f701c39 424$1c2e3670$a1 01280a@phx.gbl> ...[color=blue]
    > 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).[/color]

    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)

    "Network Performance Open Source Toolkit" (Wiley)

    Comment

    Working...