4.24 PortHealth

Use this Knowledge Script to check whether system ports are working properly. This script raises an event if a port is not operating. In addition, this script generates datastreams for port availability.

4.24.1 Resource Objects

Windows 2003 Server or later

4.24.2 Default Schedule

The default schedule for this script is Every 10 minutes.

4.24.3 Setting Parameter Values

Set the following parameters as needed:

Description

How to Set It

Event Notification

Event severity when job fails

Set the event severity level, from 1 to 40, to indicate the importance of an event in which a port is not operating. The default is 5 (red event indicator).

Raise event if port appears unavailable?

Select Yes to raise an event if a port is not operating. The default is Yes.

Event severity when port appears unavailable

Set the event severity level, from 1 to 40, to indicate the importance of an event in which a port is not operating. The default is 5 (red event indicator).

Use monitored address as event source?

Select Yes to use the monitored address as the event source. The default is Yes.

Monitoring

Network addresses to monitor

Provide the network addresses for which you want to check port availability. Separate the addresses with commas (,) and no spaces. Use the format: <host_ID>:<port_number>. The host ID can be a hostname or IP address. For example: www.storm.com:8008,1.10.10.10:30.

The default is www.netiq.com:80.

Network Protocol

Select the protocol to use to check the availability of the network address and port number specified in the Network addresses to monitor parameter. The default is TCP.

The following is a list of values.

  • TCP - Select to test TCP connectivity to the target network address and port.

  • UDP - Select to test the ability of the target network address and port to receive UDP streams. When UDP is selected, a string of Is anyone there? is sent to the target host and port. Because no response is expected, the target network address and port is considered available if the send attempt does not encounter any errors.

Data Collection

Collect data for port health?

Select Yes to collect data for charts and reports. If enabled, data collection returns:

  • 100 - the port is operating properly

  • 0 - the port is not operating

The default is No.