SNMP Configuration and Management Manual

NonStop NET/MASTER Trap Subagent
SNMP Configuration and Management Manual424777-006
10-20
closeagent Failures
&sys.file.rc-value
contains an integer if the FILE PUTGET verb in the sendtrap function failed:
8 (Error occurred. See &sys.file.error value for more information.)
16 (Error occurred. &sysmsg might contain more information.)
&sys.file.error-value
is the Guardian error number corresponding to the value of &sys.file.rc.
&sysmsg
is a text message.
closeagent Failures
Table 10-4 describes the actions GENTRAP takes when openagent fails.
The format of the message is as follows:
return-code
has the value 1, as described in Table 10-4.
&sys.file.rc-value
contains an integer if the FILE CLOSE verb in the closeagent function failed:
16 (UBD closed.)
&sys.file.error-value
is the Guardian error number corresponding to the value of &sys.file.rc.
&sysmsg
is a text message.
Table 10-4. closeagent Return Codes and GENTRAP Actions
Return Code Meaning GENTRAP Actions
0 The function completed
successfully.
GENTRAP processing is complete.
1 Communication with the
SNMP agent could not be
terminated.
Processing stops after a message is displayed
at an OCS window.
error return-code from closeagent procedure.
&sys.file.rc = &sys.file.rc-value
&sys.file.error = &sys.file.error-value
&sysmsg = &sysmsg-value