Trap Multiplexer Subagent/Manager
SNMP Configuration and Management Manual — 424777-006
12 -48
Converting Events to Traps
Process Activated Event
A “Process Activated” event is reported for a process whenever the process is
activated.
Converting Events to Traps
Any process that generates events, including the Trap Multiplexer, can have its events
translated into traps by the EMS Trap Subagent. which uses an event filter know as a
routing distributor filter to determine where to route trap messages. The filter contains a
destination statement that identifies the SNMP agent as the routing destination. The
filter can also contain specifications for selecting events to convert into traps. Refer to
Section 9, EMS Trap Subagent
, for more information.
Sample EMS Application
This subsection describes a sample application that demonstrates how a management
application can extract information from events created from traps received by the Trap
Multiplexer.
Application Components
The sample application is in a C language program that uses Subsystem
Programmatic Interface (SPI) procedures to retrieve the values of tokens from event
traps. As
Figure 12-3
indicates, the application interacts with an EMS consumer
distributor process to retrieve trap events from an EMS collector process. Only events
that meet the specifications of an EMS filter, whose source code is shown in
Example 12-1
, are passed to the application. The application decodes the event
information to find the trap-oriented tokens, then displays their values.
Figure 12-3. Sample Application Interactions
EMS
Collector
Sample
Applicatio
n
EMS Consumer
Distributor
EMS
Filter
Object
default = $0
on current
system
default = TMXFO
in current subvolume
Trap
Multiplexer
VST1103.vsd
Summary of Contents for T9576G06
Page 24: ...Contents SNMP Configuration and Management Manual 424777 006 xxii Tables continued ...
Page 38: ...Part I Installing and Configuring SNMP SNMP Configuration and Management Manual 424777 006 ...
Page 140: ...Part II SCF for the SNMP Agent SNMP Configuration and Management Manual 424777 006 ...
Page 208: ...Part III Troubleshooting SNMP Configuration and Management Manual 424777 006 ...
Page 230: ...Part IV SNMP Subagents SNMP Configuration and Management Manual 424777 006 ...
Page 704: ...Part V Appendices SNMP Configuration and Management Manual 424777 006 ...
Page 778: ...Index SNMP Configuration and Management Manual 424777 006 Index 32 Special Characters ...