Next Topic

Previous Topic

Book Contents

Advanced Port Tests

Advanced Port Tests allow you to send a text string to a TCP port, and then check the response against an expected string (the return string does not have to be a perfect match, only a substring match).

Creating an Advanced Port Test

  1. Navigate to Administration > Devices.
  2. On the Manage Devices page, find the device for which you want to create a test, and then click Tests.
  3. On the Manage Tests page, click Create New Advanced Tests.
  4. On the Create Advanced Tests page, select the Advanced Port Test option. Fill in the test name, test Interval, warning and critical thresholds, and an action profile (optional). See the field descriptions in the table below.
  5. Click Provision Tests.

Field

Description

Send String

The string to be sent to the remote TCP port.

Expect String

The string against which the remote port's response is checked. The Action Profile is activated when the response is a substring match for the Expect String.

Port

The TCP port on this device to which the DGE will send the Send String.

Traverse connects to the target port specified, transmits the send string if one is specified and then performs a case-insensitive sub-string match for the expect string if one is specified. As an example, to monitor if the sshd TCP port is alive and responding:

If you just want to test connectivity to a TCP port, leave the expect string blank.

To note that it is also possible to send a multi-line string when setting up the above test by separating each line with \r\n (carriage return + line feed).

Determining if the TCP Port is Operating/Enabled

This can be accomplished by creating an advanced port test and not specifying any send/expect strings. For example, if you wish to monitor port 7000 on device my_device, navigate to Administration > Devices > Tests > Create New Advanced Tests and provide the following parameters:

Now Traverse will test to make sure that my_device is accepting incoming connections on port 7000 at the specified interval.