Monitoring using TCP Port Monitor

How to monitor metrics using TCP port monitor.

Leave Feedback

Introduction

The availability of multiple TCP ports can be monitored by TCP Port on a local or remote host. Response time thresholds can be set to monitor connectivity and raise critical alerts if it surpasses the configured threshold value.

To check the connectivity between the port and a specific host, a TCP port monitor can be added using Setup > Monitoring > Templates > Other Monitors.

After applying the template to a device, the template can be validated if it is assigned to a resource.

Creating TCP port monitors

To create a TCP port monitor:

  1. From All Clients, select a client.
  2. Go to Setup > Monitoring > Templates.
  3. From TEMPLATES, click +Add. The monitor template appears.
  4. From MONITOR TEMPLATE, provide the details for the following parameters and click Save:
    • Select Template Scope: The partner template or client-specific template. For the client-specific template, select the client.
    • Collector Type: The application type used to gather the information. Select the agent.
    • Applicable for: The type of application.
    • Template Name: The name of the template.
    • Description: The summary of the template.
    • Generation: The generation that the template belongs to. For example: Generation 2.
    • Tags: The user-defined tags used for enhanced filtering.
    • Prerequisites: The essential prerequisites to consider while monitoring using a template. For a Windows template, as an example, check the SQL services while monitoring SQL parameters.
    • Status: The active or end-of-life templates.
    • Notes: Additional information to add to the template.
    • Template Family Name: The category that applies to the application. Examples include: Windows server, storage server, and network server.
    • Deployment Type: Select one of the following methods to apply the template to resources:
      • Custom
      • Optional
      • Standard
  5. After configuring the template, go to Other Monitors and click +Add. The other monitors screen appears.
  6. From the options displayed in the Monitor Type drop-down, select TCP port monitor. The TCP port monitor screen appears.
  7. From TCP Port Monitor, click Add to provide additional detailed parameters.
    Click Add and Remove to increase or decrease the following settings:
    • Frequency: The intervals used to monitor the connection. The recommendation is 15 minutes.
    • Alert: Select Alert to receive alerts in the event of any match.
    • Apply Availability Monitor: Select the checkbox to show the availability of the monitors.
    • Priority: The priority of the alert.
    • Host: The server IP address. The default is 127.0.0.1.
    • Port: The server port.
    • Response Time Threshold: The time taken to connect to the TCP port specified in seconds.
Add TCP Port Monitor

Add TCP Port Monitor

The MySQL port can be monitored from localhost: 127.0.0.1 and critical alerts raised if the response time surpasses the time provided in seconds.

After adding a template with a TCP port monitor, assign the template to a device to start monitoring.

Managing TCP port monitors

TCP port monitor details can be viewed and modified when added to a template. Perform the following actions to manage the TCP port monitor:

  • Edit: Click the template name displayed on the templates screen to modify the monitor details.
  • View: View the monitor details in the templates screen. Click the arrow next to the template name to view the TCP port monitor added to the current template.
Manage TCP Port Monitor

Manage TCP Port Monitor

Validating templates

The graphical data is displayed for each name configured in the TCP port monitor. Monitor graphs can be viewed under Infrastructure > Resources > Device Details > Metrics. Only one graph is displayed for all configured names in an individual TCP port monitor. The graph displays the monitor details based on response times.

Validate Template

Validate Template