Properties and command-line options

Properties and command-line options specific to the TCPPort monitor are described in the following table.

Table 1. TCPPort properties and command-line options 

Property name

Property parameter

Command-line option

Description

Monitor Disconnect

0|1

-monitordisconnect

Specifies that the monitor should disconnect itself after the last Send or WaitFor command. If the last command is a Send, the monitor disconnects immediately after the string is sent. If the last command is a WaitFor, the monitor disconnects as soon as the monitor receives a match or when the poll timeout is exceeded.

0 - disabled (monitor does not connect)

1 - enabled

OutputDirectory

string

-outputdirectory

Specifies the output directory to use if the OutputResult is saved. Default: $ISMHOME/var.

OutputResult

0|1

-outputresult

Specifies that the monitor should save the data it receives from the service.

0 - disabled

1 - enabled

Send

n

-Send

Literal string that the monitor writes to the port. See Guidelines for configuring the TCPPort monitor.

n is a number between 1 and 30 inclusive.

singleLineMatch

0|1

-singlelinematch

Specifies that the monitor should return a single line match when a regular expression is matched.

0 - disabled (multiple lines are matched)

1 - enabled (single line is matched)

WaitFor

n

-WaitFor

Regular expression used to match commands or strings on the monitored port. For more information on this property, see Guidelines for configuring the TCPPort monitor.

n is a number between 1 and 30 inclusive.