ATStatus
ATStatus WikiLoading documentation...

TCP/UDP Monitoring

Monitor services at the network layer

Monitoring

TCP and UDP monitors check connectivity at the network layer by attempting to connect to a specific port. These are ideal for monitoring non-HTTP services like databases, mail servers, game servers, and custom applications.

TCP vs UDP

TCP
Connection-Oriented

TCP monitors establish a full connection handshake to verify the service is accepting connections.

  • ✓ Reliable connection verification
  • ✓ Detects service crashes
  • ✓ Works with most services

UDP
Connectionless

UDP monitors send packets and check for responses. Best for services that use UDP protocol.

  • ✓ DNS servers
  • ✓ Game servers
  • ✓ VoIP services

Configuration

Host

The hostname or IP address to monitor.

db.example.com

Port

The port number to connect to.

3306 (MySQL)5432 (PostgreSQL)6379 (Redis)27017 (MongoDB)

Timeout

Maximum time to wait for connection (in seconds). Default: 10 seconds.

Common Use Cases

ServiceDefault PortProtocol
MySQL3306TCP
PostgreSQL5432TCP
Redis6379TCP
MongoDB27017TCP
SSH22TCP
DNS53UDP/TCP
SMTP25, 587TCP

Best Practices

  • Use TCP monitors for connection-oriented services (databases, mail)
  • Ensure firewall rules allow monitoring from your ATStatus instance
  • Set appropriate timeouts based on network latency
  • Consider using database-specific monitors for deeper health checks

Related Documentation