SNMP Configuration and Management Manual
NonStop NET/MASTER Trap Subagent
SNMP Configuration and Management Manual—424777-006
10-18
Messages
Messages
GENTRAP sends messages to an Operator Control Services (OCS) window when the 
openagent, sendtrap, or close agent functions fail. 
openagent Failures
Table 10-2 describes the actions GENTRAP takes when openagent fails.
The format of the message is as follows: 
trapCritical
1.3.6.1.4.1.169.3.12.7
 not-accessible
 DisplayString (SIZE
 (1..14))
An indication of 
whether the event is 
critical or noncritical. 
Critical events have 
consequences that 
might be severe, as 
when they indicate 
potential or actual loss 
of data, loss of a major 
subsystem function, 
loss of fault-tolerance 
capability, or loss of 
subsystem integrity.
One of these enumerated 
values:
 CRITICAL
 not critical
ZEMS-TKN-
EMPHASIS token 
value. If the value of 
this token is false (0), 
the value passed is 
(not critical). If the 
value is non-zero, the 
value passed is 
(CRITICAL).
trapText
1.3.6.1.4.1.169.3.12.8
 not-accessible
 DisplayString (SIZE
 (1..1000))
Text describing the 
event.
ASCII text. EMSTEXT procedure 
call.
Table 10-2. openagent Return Codes and GENTRAP Actions
Return Code Meaning GENTRAP Actions
0 The function completed 
successfully.
Processing continues.
1 A UDB problem occurred. Processing stops after a message is displayed 
at an OCS window.
2 Communication with the 
agent process could not 
be started.
Processing stops after a message is displayed 
at an OCS window.
error return-code from openagent call.
&sys.file.rc = &sys.file.rc-value
&sys.file.error = &sys.file.error-value
&sysmsg = &sysmsg-value
Table 10-1. Objects in the EMS Trap MIB (page 4 of 4)
Object and Attributes Definition Format of Value Derivation of Value










