Previous Topic: Defining a Foreign Symbol

Next Topic: Using CAPOLY$TRAP

Using CAPOLY$CASEND

CASEND is a simplified version of CAPOLY$TRAP that sends an informational message using SNMP traps to one or more CA NSM Managers. To use CASEND, the following steps are required:

  1. Define a foreign symbol:
  2. casend :== $capoly$bin:capoly$casend.exe
  3. Arguments for CAPOLY$CASEND:

Value

Usage

Description

message

message

The message you want to send, as a quoted string

destination-nodes

destination-node

Target systems for the message

By default, CASEND will send the message to nodes defined by the logical CAPOLY$TRAP_DST. If a comma-separated list of nodes is provided as the second argument, then the trap will be sent to these nodes and not the nodes defined by the logical.

For example:

casend “This is a test message”

or

casend “This is a host message” hosta,hostb,hostc