4.39 PortHealth

Use this Knowledge Script to check whether system ports are working properly. This Knowledge Script raises an event if a port is not operating properly.

There are separate lists for UNIX and Windows computers. This separation allows the script to push raised events to computers listed in your TreeView: to do this, the script needs to know whether an event is destined for a UNIX or Windows computer. When an event is pushed to a computer listed in your TreeView, its icon blinks.

This script can raise an event for a computer that is not listed in your TreeView.

NOTE:This Knowledge Script raises an event if a port specified for monitoring cannot be reached from the computer where you dropped the Knowledge Script. In addition to the event, the icon for the computer where you dropped the Knowledge Script blinks.

4.39.1 Resource Object

UNIX computer icon

4.39.2 Default Schedule

The default interval for this script is Every 5 minutes.

4.39.3 Setting Parameter Values

Set the following parameters as needed:

Description

How to Set It

Raise event if port cannot be reached? (y/n)

Set to y to raise an event if a specified port is not operating properly. The default is y.

Collect data for port status? (y/n)

Set to y to collect data for graphs and reports. If enabled, returns:

  • 100 -- the port is operating properly, or

  • 0 -- the port is not operating.

The default is n.

Windows network addresses in format hostIP:port_number (comma-separated, no spaces)

Type one or more Windows network addresses using the format host_IP:port_number. Separate multiple addresses by commas and no spaces.

The host_IP can be a hostname or an IP address. For example: www.storm.com:8008,21.1.10.1:30. The default is www.netiq.com:80.

UNIX network addresses in format hostIP:port_number (comma-separated, no spaces)

Type one or more UNIX network addresses using the format host_IP:port_number. Separate multiple addresses by commas and no spaces.

The host_IP can be a hostname or an IP address. For example: www.storm.com:8008,21.1.10.1:30.

Event severity when port cannot be reached

Set the event severity level, from 1 to 40, to indicate the importance of the event. The default is 8.

Event severity for internal failure

Set the event severity level, from 1 to 40, to indicate the importance of an event in which this job experienced an internal error. The default is 5.

Enable debugging? (y/n)

Set to y to enable debugging. The default is n.