Previous Topic: Using CAPOLY$CASEND

Next Topic: Using Performance Cubes

Using CAPOLY$TRAP

CAPOLY$TRAP is equivalent to CATRAP on other CA NSM platforms. To use CAPOLY$TRAP, the following steps are required:

  1. Define a foreign symbol:
    catrap :== $capoly$bin:capoly$trap
    
  2. Arguments of CAPOLY$TRAP:

Value

Usage

Description

destination-node

destination-node

Target system for the message

enterprise

enterprise

OID for your enterprise

agent-addr

agent-addr

Address of the agent

generic-trap

generic-trap

Trap type

specific-trap

specific-trap

Specific trap type

time-stamp

time-stamp

Time of message

-d

[-d]

Hex dump of packet

-v

[-v]

Verbose output

-t

[-t timeout]

Overrides default timeout, where timeout identifies the new timeout

-r

[-r retries]

Overrides default number of tries, where retries identifies the new number of retries

-p

[-p port]

Identifies the port to use instead of 162, where port identifies the new port

-c

[-c community]

Overrides default community string, where community identifies the new community string

Note: You can make enterprise, agent-addr, and time stamp default by using a null (“”) string.

For example:

catrap hosta 1.3.6.1.4.1.791.2.8.2.2.2  "" 6 2 "" 
1.3.6.1.4.1.791.2.8.2.2.2.1 octetstring “My string A”
1.3.6.1.4.1.791.2.8.2.2.2.1 octetstring “My String B”

Notes:

Configuring Message Timeouts

For Windows

The Registry value MsgTimeout is the lifetime (timeout) in seconds for outgoing CAM messages. It allows you to control message timeout according to your network capabilities. The default value is 10 seconds. The parent Registry key is:

HKEY_LOCAL_MACHINE\SOFTWARE\ComputerAssociates\UNIVMS
On OpenVMS

The logical name UNIVMS_MSG_TIMEOUT is the lifetime (timeout) in seconds for outgoing CAM messages. It allows you to control message timeout according to your network capabilities. The default value is 10 seconds. To change the value, edit SYS$STARTUP:CAPOLY$STARTUP.COM. Remove the comment from the line that defines the logical name. Change the value as desired and save the changes.