Monitoring Beyond Websites: TCP, Databases and Enterprise Services
Your homepage can return a cheerful 200 OK while the database behind it is refusing connections, your message queue is backed up, and your payment provider is timing out. Uptime monitoring that only watches the front door misses the room on fire.
Most outages users notice don't start at the web layer. They start one tier down — a database that ran out of connections, a cache that fell over, an internal API that stopped responding — and surface as slow pages, failed checkouts and cryptic errors. If you only monitor the website, you find out when the support tickets arrive.
Port checks: the cheapest early warning you have
A TCP port check does one simple thing: it opens a connection to a host and port and confirms something is listening and accepting connections. It doesn't speak the protocol — it doesn't run a query or authenticate — but "can I even open a socket to port 5432?" answers a surprising number of 3am questions before your users do.
Useful things to watch with a plain TCP check:
- PostgreSQL on 5432, MySQL/MariaDB on 3306 — is the database accepting connections at all?
- Redis on 6379, Memcached on 11211 — is your cache layer alive?
- SMTP on 25/587, IMAP on 993 — can mail actually flow?
- Message brokers — RabbitMQ on 5672, Kafka on 9092.
- Internal APIs and microservices on whatever port they bind to.
- SSH on 22 — a box that stops answering on 22 is often a box that's gone.
A refused connection on a database port is a far earlier and clearer signal than waiting for the website to start throwing 500s because its connection pool is exhausted.
Where a port check stops being enough
TCP checks have an honest limit: a listening socket is not the same as a healthy service. A database can accept a connection and still be unable to run queries because replication has stalled or the disk is full. A web server can complete a TCP handshake and still return errors to every request.
That's where the other check types earn their place:
- HTTP/HTTPS checks confirm your app actually responds, not just that the port is open.
- Keyword checks go a step further: they fetch a page and confirm expected text is present. Point one at a lightweight health-check endpoint that itself queries the database and returns
OKonly if the query succeeded, and a single check now covers the whole dependency chain. - SSL certificate monitoring catches the outage that's fully self-inflicted: the expired certificate. It's booked in your calendar months ahead and still takes people by surprise.
- Heartbeat monitoring catches the silent failure — the nightly backup or billing job that stopped running three weeks ago and told nobody. Instead of checking a service, your job checks in with us; if the check-in doesn't arrive on schedule, we alert.
The health-check endpoint pattern
The single highest-leverage thing you can do for enterprise monitoring is expose a proper health-check endpoint. Rather than have your monitor guess at your system's health from the outside, build a small endpoint — say /healthz — that checks its own critical dependencies and reports honestly:
- Can it reach the primary database and run a trivial query?
- Is the cache responding?
- Are critical downstream APIs reachable?
Have it return 200 and the word healthy only when everything passes, and a 503 otherwise. Now a single keyword check on that one URL reflects the real health of the whole stack — and when it fails, you confirm from a second location before anyone gets paged, so a network blip between one checker and your endpoint doesn't cry wolf.
Layer your checks
The teams who sleep well don't rely on a single check. They layer:
- TCP checks on the underlying services (database, cache, broker) for the earliest, bluntest signal.
- A keyword check on a real health endpoint for whole-chain confidence.
- HTTPS + SSL checks on the public site for the customer-facing view.
- Heartbeats on the background jobs nobody watches until they've been broken for a fortnight.
When something breaks, the pattern of which checks fire tells you where: database port down but website still up means you've caught it early; website down but database fine points at the app tier.
What UptimeTracker covers
HTTP/HTTPS, keyword, TCP-port, ping and SSL-expiry checks, plus heartbeat monitoring for scheduled jobs — each with second-location confirmation on paid plans so the alerts stay trustworthy. When a confirmed outage happens, we can also open a ticket directly in your service desk (ServiceNow, Jira, Zendesk, Freshdesk or Freshservice) and resolve it automatically on recovery.
What we deliberately don't do is application performance monitoring — we won't trace which query was slow. For that, pair us with an APM tool. We tell you, quickly and without false alarms, that something is wrong and where in the stack it is.
See the full list of check types and what's included on each tier on our pricing page, or read how second-location confirmation keeps these alerts trustworthy.