Thread: snmp library
View Single Post
  #2 (permalink)  
Old 02-11-2010, 05:04 PM
agraham's Avatar
agraham agraham is offline
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

I know next to nothing about SNMP but I'm always willing to learn. I don't know if the attached library is any use to you. It is a straight compilation of the SNMP class in the included article. It appears to be a low level class that means you have to pick the data apart yourself. My BytesConverter library might be useful for that.

The SNMP object only has three methods

New1

Get(request As String, host As String, community As String, mibstring As String) As Byte()

GetNextMIB(mibin As Byte()) As String

Get has a fixed timeout of 5 seconds at the moment. I don't know the use of GetNextMIB, maytbe you can get an idea from the code. If it's a suitable base to work from I can polish it up otherwise I'll just forget it.

EDIT:- Archive that somehow got corrupted deleted removed and original uploaded again.
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.

Last edited by agraham : 04-05-2011 at 08:58 AM.
Reply With Quote