Previous Topic: The CA-AP NSM Gateway Service

Next Topic: Configuring CA Automation Point CA NSM Objects Using Configuration Manager


TNG Command Summary

After the CA‑AP NSM Gateway service is running, you can access the WorldView Repository from the ADDRESS TNG REXX environment. This environment supports these major commands (see the Command and Keyword Reference Guide for command syntax):

CREATE

Creates a new object

DELETE

Deletes a specified object

GET

Reads one or more PROPERTY/VALUE pairs from a specified object

LIST

Lists all objects from a specified class

SET

Writes one or more PROPERTY/VALUE pairs or the contents of a stem variable construct to a specified object

SNMPTRAP

Sends an SNMP trap to the specified host

UNICMD

Tells the CA NSM Event Manager component, which resides on the specified host, to execute the supplied command

UNIWTO

Sends the supplied message to the CA NSM Event Manager component on the specified host

UNIWTOR

Sends the supplied message to the CA NSM Event Manager component on the specified host and receives a reply

VER

Returns information about the version of the ADDRESS TNG environment that is running

All of these commands are accessed using the standard CA Automation Point style for using REXX command environments. For example:

ADDRESS addressenvironment  'majorcommand commandmodifiers'

By using these commands and checking return codes, you can use REXX to create visual effects of automation on the WorldView Map. For example, the following command creates a new object in the WorldView Repository:

ADDRESS TNG 'CREATE OBJECT(Hub.MyHub)'

In this example, the object is a wiring hub. The object class type is Hub and object is MyHub The ADDRESS TNG commands that interface with the WorldView component require the OBJECT parameter. The argument to the OBJECT parameter consists of two parts: the name of the class to which the target object belongs (defined in the CA NSM environment) and the name of the object itself. These two parts must be separated by a period.

By creating the object MyHub in the WorldView Repository, you automatically make it available to the CA NSM graphical interfaces. You can then set the value of the properties of MyHub (for example, the status of port 1) by entering the following command:

ADDRESS TNG 'SET OBJECT(Hub.MyHub)
   PROPERTY("port1_status") VALUE("In Service") '

Similarly, you can query the object by entering this command:

ADDRESS TNG 'GET OBJECT(Hub.MyHub)
   PROPERTY("port1_status") '

Using the CA NSM command processors in REXX programs triggered by either CA Automation Point rules or manual procedures, you can effectively maintain a graphic status of the devices and processes that are managed by CA Automation Point on the WorldView Map.

See the Command and Keyword Reference Guide for information on specific ADDRESS TNG commands and ADDRESS TNG return information.