I want to build an application using snmp for searching my LAN and exploring the devices which have shared some resources. I need some assistance to start with it, I have trying to do the same using net-snmp, but still no success.
closed as not a real question by Chris Thorpe, John Gardeniers, SvW, Iain, Chopper3 Apr 16 '11 at 9:09
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.
I think what you want to do is not possible.
If all you want to do is network discovery, there are much better alternatives to do it then forcing SNMP do something it wasn't designed for.
If you want to do full network discovery the only realistic way forward is to:
This process needs to be repeated on a regular basis because the data in both MAC address and ARP tables times out, in the former case in 10 minutes, in the latter case normally it will be several hours.
With the information above you can identify where (or at least to which switch port) devices are connected and then, if you need more information, interrogate each host for details of O/S or whatever else you need to know.