SNMP Manager Programmer's Guide

Introduction to Manager Services
SNMP Manager Programmer’s Guide134249
1-7
Manager Services Components
manager notifies the upper manager by means of a trap. The upper manager can then
take whatever action is appropriate, such as issuing SNMP requests of its own.
Each manager is actually a resource that can be managed using SNMP. For example,
the priority at which a manager process executes or the rate at which it issues requests
may be desirable to monitor and control. A manager can be instrumented with subagent
logic in order to provide a means by which it can be managed. Figure 1-5
illustrates this
scenario.
The Trap Multiplexer that Tandem offers is an example of an SNMP application that
acts as both a manager and a subagent. As a manager, it receives traps and converts
them into EMS events. As a subagent, it interacts with a NonStop agent to provide
manager access to MIB objects describing its trap conversion activities and its
configuration attributes. Refer to the SNMP Configuration and Management Manual for
more information about the Trap Multiplexer.
Your NonStop Kernel SNMP applications can also be instrumented to provide both
subagent and manager functions. Use Manager Services to help generate your manager
logic, and use the Subagent Toolkit Tandem provides to help generate your subagent
logic. Then bind all the appropriate object files together to create a single executable
entity. Refer to the SNMP Subagent Programmer’s Guide for information on the
Subagent Toolkit.
Manager Services Components
Manager Services consists of the following components:
A MIB compiler, which parses an ASN.1 MIB description and creates output useful
when writing MIB object handling logic
Header files, which define data structures and packet-handling function prototypes
Library functions, which construct, encode, and decode packets
Sample managers, which illustrate how to use the components listed above to
perform typical manager operations
Figure 1-5. Combining Manager and Subagent Functions
105
Subagents
NonStop
Agent
Manager
MIB
Manager Subagent