SNMP Configuration and Management Manual
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










