SNMPTRAP Macro

The SNMPTRAP macro generates an SNMP trap. You can use an SNMP trap to inform a remote system of a resource or service state change.

Parameters: SNMPTRAP Macro

Example: SNMPTRAP Macro

In the following example, the SNMPTRAP macro sends a trap to the remote system at the specified address when the CICS task is lost. The macro is specified in a process definition that is used by the resource definition for the task (CICSPROD) and processed as an exit upon receipt of a message which indicated that the CICS region has failed.

---------- Automation Services : SNMPTRAP Macro Parameter Definition ---------- Command ===> Function=UPDATE . SNMP Trap Details ----------------------------------------------------------. | | | Text .....PROD-0001________________________________________________________ | | CICS(CICSPROD)___________________________________________________ | | PROD-0001: CICSPROD HAS FAILED___________________________________ | | | | Destinations Dataset ...... ____________________________________________ | | or | | Destination Address(es) ... 128.1.170.23___________________________________ | | | | Enterprise Id ............. 1.3.6.1.4.1.11.2.17.1__________________________ | | | | Specific Trap Number ...... 59047936_______________________________________ | | | | Community Name ............ PUBLIC_________________________________________ | '-----------------------------------------------------------------------------' F1=Help F2=Split F3=OK F9=Swap F12=Cancel


Copyright © 2010 CA. All rights reserved.