SNMP Manager Programmer's Guide
About This Manual
SNMP Manager Programmer’s Guide–134249
xii
Purpose
See “Related Reading,” later in this section, for information on obtaining these
RFCs.
Purpose
This manual provides information that helps manager programmers:
•
Write C or C++ program modules that use Manager Services header files and library
functions for constructing, encoding, and decoding SNMP packets
•
Use the Manager Services MIB compiler to generate information about MIB objects
of interest for use as reference while programming or for access by manager logic
•
Instrument managers to send packets to and receive them from NonStop or other
agents
•
Build executable managers
•
Understand, build, and run the sample managers provided with Manager Services
Organization
This manual is divided into nine sections:
•
Section 1, Introduction to Manager Services, describes how Manager Services
components fit into the manager development cycle and the scenarios that generated
managers can support.
•
Section 2, Programming Examples, explains the sample managers provided with
Manager Services.
•
Section 3, Using the MIB Compiler, tells you how to invoke and interpret output
generated by the MIB compiler.
•
Section 4, Using Header Files, Data Structures, and Defines, describes the library
definitions that support the packet-handling functions.
•
Section 5, Constructing and Interpreting Packets, provides an overview of the
components and use of SNMP packets and describes the library functions and
structures you use to construct them.
•
Section 6, Encoding and Decoding Packets, explains the buffer used to hold encoded
packets and describes the library functions you use to manipulate the buffer and
encode a packet into it in preparation for sending the packet to an agent. It also
describes the library function you use to decode received packets.
•
Section 7, Sending and Receiving Packets, describes how to use IPC to
communicate with NonStop agents. It also describes how to use the TCP/IP UDP
protocol to communicate with NonStop agents or other agents.
•
Section 8, Building Executable Managers, provides instructions for building
executable managers.