
NonStop NET/MASTER Trap Subagent
SNMP Configuration and Management Manual — 424777-006
10- 9
Configuration
Configuration
You might need to perform one or both of these operations before using the subagent:
•
Modify GENTRAP to change the SNMP trap definition or the way the subagent
communicates with the SNMP agent.
•
Configure trap connections.
This subsection describes these operations.
Modifying GENTRAP
When first installed, this file looks like
Example 10-2
. The statements highlighted in
bold type can be modified to change the trap definition or subagent-SNMP agent
communication behavior.
Changing the Trap Definition
To define a trap that differs from the one defined by the EMS Trap MIB, you need to
create a MIB definition in ASN.1 and modify GENTRAP to correspond. The trap built
by GENTRAP contains items corresponding to the objects in the EMS Trap MIB,
described later in this section. Trap object definitions in GENTRAP are shown in bold
italic type in
Example 10-2
.
Changing Subagent-SNMP Agent Communication
Three procedures in NMMTRAP are called from GENTRAP to handle subagent-SNMP
agent communications:
•
The
openagent
function initiates communication with the SNMP agent.
•
The
sendtrap
function builds and sends a trap to the SNMP agent.
•
The
closeagent
function terminates communication with the SNMP agent.
This subsection briefly describes these functions and the way GENTRAP uses them
initially. The function calls in GENTRAP are highlighted in bold type in
Example 10-2
.
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 ...