Service Availability (TCP) Monitoring

Service Availability (TCP) Monitoring

Synthetic Monitoring

Service Availability (TCP) Monitoring

Verify that TCP-based services and ports are open and responsive. Cloudmon tests connection success, measures response time, and tracks availability for any service from standard ports like HTTPS and SSH to custom application endpoints.

Overview

Service/Port Availability monitoring in Cloudmon tests whether a specific TCP port on a host is open and accepting connections at every polling interval. Unlike Host Availability which only checks whether a host is reachable, Port Availability verifies that a specific service is running and responsive. A server can be online and responding to ICMP pings while a critical service on that server has crashed and its port is closed. Port Availability catches this immediately.

Cloudmon measures TCP connection success, the time taken to establish the connection (response time), and tracks availability as a percentage over time. Rising connection times indicate service degradation before full failure. If the port is closed or the connection times out, the service is marked as down and an alarm fires according to the configured rule.

Port monitors can be added manually or discovered automatically via Network Discovery using the Service type with TCP protocol.

Configuration

To add a port monitor manually, navigate to Synthetic → Network → Service Availability and click the + button. Fill in the fields as follows:

FieldDescription
ProbeThe Cloudmon probe that will test the TCP connection. Choose a probe with network access to the target host and port.
NameA descriptive name for this monitor, such as "Production Web Server HTTPS" or "Payment Gateway API Port".
Hostname or IPThe IP address or hostname of the server running the service to be monitored.
Monitoring ProfileThe polling and reporting interval for this monitor, configured under Settings → Configurations → Monitoring Profile → Network Nodes/Services.
Alarm RuleSelect an alarm rule to apply to this service monitor.
ProtocolTCP is the only protocol for port monitoring.
ServiceSelect a named service from the dropdown, such as HTTP (80), HTTPS (443), SSH (22), or FTP (21). Custom port numbers can also be entered for application-specific services that do not use standard ports.
TagsOptional labels for filtering and grouping this monitor in dashboards and reports.

Click Save. Cloudmon begins testing the port at the configured interval immediately.

What Cloudmon Monitors

For each monitored service, Cloudmon tracks availability as a percentage of intervals in which a successful TCP connection was established, response time as the time in milliseconds to complete the TCP handshake, downtime duration when the port was unreachable or refused the connection, error rate as the percentage of failed connection attempts, and jitter as the variation in response time between polling intervals.

Trace Path

A Network Path view is also available for each port monitor, showing the hop-by-hop route from the probe to the target service. This helps isolate whether a service slowdown originates at the server itself or at an intermediate network hop. To enable it, navigate to the service monitor's Settings tab, toggle Trace Path on, set the interval, and click Save.

Alarms

Each alarm is built around a simple IF/THEN model, where you select a metric, set a threshold, and define what happens when it is breached. Learn more.

Troubleshooting

IssueWhat to check
Port shows as down but the service is runningConfirm that the firewall or security group between the probe and the target server is not blocking the monitored port. Test manually from the probe host using telnet or netcat to the target IP and port. If the connection is refused, the port is genuinely closed from that network path even if the service is running and listening on a different interface.
Response time is high but the port is reporting as upEnable Trace Path on the service monitor to identify whether the latency is in the network path or at the server. A slow TCP handshake that completes eventually indicates a congested or overloaded server, not a network problem. Check the target server's CPU and connection queue depth.
Custom port added but shows connection refused immediatelyVerify the application is actually listening on that port by running netstat or ss on the target server. Confirm the correct port number was entered and that the application service is running. A connection refused response means the port is reachable but no process is accepting connections on it.
Monitor shows intermittent up and down flappingFlapping typically indicates a connection timeout rather than a clean refusal, suggesting the probe can reach the host but the service is occasionally not responding within the timeout window. Increase the Connection Timeout value in the monitor settings or investigate application-level connection queuing on the target server.
    • Related Articles

    • Does Cloudmon monitor availability of Services?

      Yes, availability of services can be monitored. Refer Service monitoring for more details
    • TCP Based Netpath Analysis

      Network Path Analysis: Ensuring uninterrupted connectivity is a paramount concern for any business. However, maintaining continuous and unbroken communication between a source and a destination in a network has historically required labor-intensive ...
    • Synthetic Monitoring

      Synthetic Monitoring Synthetic Monitoring Proactively monitor the availability, performance, and security of your infrastructure and internet-facing services from configurable probe locations, before your users notice a problem. Synthetic Monitoring ...
    • Can Cloudmon monitor Performance, Availability, and Bandwidth of IP Endpoints?

      Yes, Cloudmon monitors the performance and availability of IP Endpoints. It uses synthetic monitoring – either ICMP (Internet Control Message Protocol) or TCP (Transmission Control Protocol) to monitor availability, latency, jitter, packet loss, and ...
    • Host Availability (ICMP/TCP) Monitoring

      Synthetic Monitoring Host Availability (ICMP/TCP) Monitoring Continuously test the reachability and network performance of any host using ICMP or TCP. Cloudmon measures availability, latency, jitter, and packet loss at every polling interval and maps ...