lextudio / sharpsnmplib

Sharp SNMP Library- Open Source SNMP for .NET
https://sharpsnmp.com
MIT License
356 stars 152 forks source link

A Beginner Trying To Get Started... #520

Closed lextudio-support closed 2 hours ago

lextudio-support commented 2 hours ago

Hi all,

This is an awesome lib and I would like to really get started. As a beginner in programming, I am just kind of lost to how to get started. I'm developing an application that will run from a console then based on IP, hostname, or MAC address (which I can get any of the 3 as long as I have one value) find the port and switch that a device is connected to. Is this possible? Would I use snmpwalk, snmpbulkget, or something totally different?

I seen the samples in the source code. I took a look at snmpwalk. Would I just make a class say SNMPWALK and then copy and paste that code in there or should I call the exe and will it give an output? The source is a bit hard to follow cause there are no comments describing what is going on. You're probably slapping your head right now.

We do have an SNMP v3 enabled. Do I need a server to connect to? Or does the request just travel through the network devices and find the destination while reporting each hop? The reason I'm asking is I just cannot seem to connect to any other device on the network. What am I missing? Please help.

Thank you.

Original Reported Date: 2012-11-20T14:41:36.587-08:00 Original CodePlex Discussion Thread ID: 404019

lextudio-support commented 2 hours ago

Copied from CodePlex without authors:

Your doubts come from the fact that you mixed too many things together.

What you have right now are,

The missing piece is an algorithm that clearly translates "the port and switch that a device is connected to" to a set of SNMP operations (those operations might need to be performed on a single device, or a few devices in the network).

SNMP cannot help you find the algorithm, as it is such a general project. You

will have to,

If possible, find someone with CCNA/CCNP certificates, and they should be able to share more insights with you.

Lex

Original Posted Date: 2012-11-20T19:38:06.34-08:00

lextudio-support commented 2 hours ago

Marked as Answer Date: 2013-10-06T20:27:20.72-07:00