Command line interface

The probe is supplied with a Command Line Interface (CLI) that enables you to execute commands to perform operations on alarms.

To use the CLI, you must use the generic Netcool/OMNIbus CommandPort property to specify a port through which commands will be sent. The default port is 6970. When you want to issue commands, use Telnet to connect through this port. You can use the generic Netcool/OMNIbus CommandPortLimit property to limit the number of Telnet connections that the probe can make at one time. The default is 10.

The following table describes the commands that you can use with the CLI.

Table 1. CLI commands

Command

Description

exit/quit

Use this command to close the connection.

help

Use this command to display online help about the CLI.

name

Use this command to display the name of the probe.

version

Use this command to display the version of the probe.

CLI scripts

Because the CLI uses Telnet connections, you can connect to the probe from anywhere by creating a desktop tool to open a Telnet connection, send a command, and then close the connection. This means that simple scripts can be set up to allow users to acknowledge selected events from the IBM Tivoli Netcool/OMNIbus event list.