Prerequisites
Prerequisites
- DevHelm CLI installed or an API token for REST calls
- An API token set as
DEVHELM_API_TOKEN— see Authentication - A host and port that accepts TCP connections
Create the monitor
Add assertions
| Type | What it checks |
|---|---|
tcp_connects | Connection is established within the timeout |
response_time | Connection completes within a threshold |
tcp_banner | The server’s initial response matches an expected pattern |
Common use cases
Database connectivity
Database connectivity
Monitor PostgreSQL (5432), MySQL (3306), Redis (6379), or any database port to detect connection issues before they affect your application.
Internal service ports
Internal service ports
Verify that microservices are accepting connections on their expected ports — useful for service mesh health checks.
SMTP/mail servers
SMTP/mail servers
Check that your mail server is accepting connections on port 25, 465, or 587.
Next steps
TCP monitor reference
Full TCP configuration and assertion details.
First alert
Get notified when the TCP connection fails.
Monitors guide
Configure all six monitor types.