Solved

SNMP info and/or resources

Posted on 1997-06-23
5
279 Views
Last Modified: 2010-04-04
I've been tasked with coding some SNMP retrieval programs.  
We are gathering information from routers/hubs/servers and clients.
I need direction on where to go for SNMP function calls and general programming information (i.e what to look for in the Help files or which book to buy).
0
Comment
Question by:kevinb062397
  • 3
  • 2
5 Comments
 
LVL 3

Expert Comment

by:sperling
ID: 1337639

From MS Development Library:
---------------------------
The SNMP functions are listed in three major categories.
Agent Functions
The agent functions define the interface between the extensible agent and the ISV-developed extension agent DLLs.
SnmpExtensionInit
SnmpExtensionInitEx
SnmpExtensionQuery
SnmpExtensionTrap
Manager Functions
The manager functions define the interface between ISV-developed manager applications and the management function dynamic-link library MGMTAPI.DLL.
SnmpMgrClose
SnmpMgrGetTrap
SnmpMgrOidToStr
SnmpMgrOpen
SnmpMgrRequest
SnmpMgrStrToOid
SnmpMgrTrapListen
Utility Functions
The utility functions simplify manipulation of SNMP data structures and perform other miscellaneous operations.
SnmpUtilMemAlloc
SnmpUtilMemFree
SnmpUtilMemReAlloc
SnmpUtilOidAppend
SnmpUtilOidCmp
SnmpUtilOidCpy
SnmpUtilOidFree
SnmpUtilOidNCmp
SnmpUtilPrintAsnAny
SnmpUtilVarBindCpy
SnmpUtilVarBindListCpy
SnmpUtilVarBindFree
SnmpUtilVarBindListFree


The following structures are used with SNMP.
AsnAny
AsnObjectIdentifier
AsnOctetString
RFC1157VarBind
RFC1157VarBindList


TCP/IP standards are defined in Requests for Comments (RFCs), which are published by the Internet Engineering Task Force (IETF). The RFCs that are relevant to SNMP features are listed in the following table.
RFC number      Title
1155      Structure and identification of management information for TCP/IP-based internets. It defines SMI.MIB.
1157      Simple network management protocol (SNMP). It defines SNMP itself.
1213      Management Information Base for Network Management of TCP/IP-based internets: MIB - II. It defines MIB_II.MIB.
 
----


Just a quick copy'n paste. I'd suggest you get MSDL and use that for reference. Also, the RFCs are ofcourse worth reading.

Regards,

Erik.

0
 
LVL 1

Author Comment

by:kevinb062397
ID: 1337640
Thanks for the Info.. Just what I wanted...
0
 
LVL 1

Author Comment

by:kevinb062397
ID: 1337641
Erik, Put something in as "answer" so I can mark this a done.

Thanks,
Kevin
0
 
LVL 3

Accepted Solution

by:
sperling earned 50 total points
ID: 1337642
Okie...

Hope you get it running...

Regards,

Erik.
0
 
LVL 1

Author Comment

by:kevinb062397
ID: 1337643
Thanks for your help..  

I've got a good start on it.


0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Thread safe  opinion 7 111
Delphi XE10, MySQL Query 4 109
Delphi: how to send PJL commands to printer 3 81
LAN or WAN ? 11 66
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now