SNMP Configuration and Management Manual
NonStop NET/MASTER Trap Subagent
SNMP Configuration and Management Manual—424777-006
10-5
Installation Steps
The NonStop NET/MASTER Trap Subagent is installed automatically when you install
NonStop NET/MASTER MS. The subagent files are installed in $dsv.ZNNMNDS. If
you will be modifying GENTRAP, first copy it to your ZNNMNCS subvolume and modify
the ZSNMMCS file. The distributed file will still be available, but NonStop
NET/MASTER MS will execute your custom GENTRAP procedure.
Next load the ASN.1 source code for the EMS Trap MIB, installed in a file named
EMSMIBA and shown in Example 10-1, onto any SNMP manager you want to receive
traps from the subagent. Compile the MIB as described in the documentation provided
with your SNMP manager. Compiling the MIB allows the SNMP manager to display the
names (rather than only numeric object identifiers) of MIB objects.
The subagent can then be configured.
To view an example trap produced by TESTSEND, start the SNMP agent as described
in Section 2, Installing and Configuring the SNMP Agent. Then log on to OCS and start
TESTSEND:
TESTSEND $agent-process
agent-process is the name assigned to the SNMP agent process when it was
started.
TESTSEND is an NCL file that sends a predefined trap to your SNMP manager. The
trap has values for all eight objects defined in the EMS Trap MIB.