How to Monitor Uptime Across Multiple Hosts From One Dashboard

To monitor uptime across multiple hosts from one dashboard, you run the checks from a central collector rather than relying on each host to report on itself, and you make the alerts depend on what the HTTP response actually says. The dashboard is only as good as the probes behind it, so most of the work is in choosing what to check, from where, and what a failure has to look like before anyone gets paged.

Why per host monitoring silos fail

A host's own monitoring agent can tell you the machine is up: CPU is being consumed, the kernel is scheduling, the disk responds. It cannot tell you that the site is unreachable from the network your customers use, that TLS negotiation is failing for one client population, or that a DNS record has gone stale at one resolver. Those failures live outside the machine. When every host watches only itself, you get several partial pictures and no single answer to the question you actually care about, which is whether the service is working for the people trying to use it.

A central collector inverts that. It sits somewhere neutral, sends requests to every endpoint on your list, and records what came back. The host does not need to cooperate, which is the point: a host that is down cannot report that it is down.

What a check actually sends

For web endpoints, the check is an HTTP request. The collector opens a TCP connection, negotiates TLS if the URL is https, sends a request line and headers, and reads the status line and headers that come back. A minimal request looks like this:

GET /health HTTP/1.1
Host: example.com
User-Agent: uptime-probe/1.0
Connection: close

The Host header matters more than people expect. It selects the virtual host on the server, so a request to the right IP with the wrong Host can return a default page with a healthy status code. Always probe by hostname, not by bare address, unless you are deliberately testing the address path as well.

Set a hard timeout on the whole exchange, not just on connection setup. A server that accepts the TCP connection and then never answers will otherwise hang the check until a default timeout far longer than your alerting window. Most collectors let you set connect timeout and total timeout separately, and you want both.

Decide what counts as success. A 200 is the obvious case, but many applications return 204, or redirect with 301 and 302. Treating any non 200 as a failure produces false alarms on healthy sites. Better to whitelist the status codes you accept and to check for a string in the body, so that a page returning 200 with an error message in the markup still fails. A check that only looks at the status code will miss the case where the application is up but broken.

You can reproduce what the collector does from a terminal with a single command, which is useful when you are debugging why a check fails:

curl -sS -o /dev/null -w '%{http_code} %{time_total}\n' \
  --max-time 10 https://example.com/health

The output is two fields: the status code and the total time in seconds. If that prints 200 and a small number, the endpoint is responding from your machine. If it prints 000, curl never completed the exchange, and the cause is usually DNS, connection refused, or a timeout. Comparing that against what the dashboard reports is the fastest way to tell whether you have a real outage or a probe problem.

Probing from more than one place

A single collector is a single vantage point. If it shares a network path with the service, it will miss failures that affect only other regions, and if the collector itself fails, everything looks down at once. Run at least two collectors in different networks and require agreement before alerting. The usual pattern is to alert when a majority of probes fail, so one flaky collector cannot page anyone at three in the morning.

Keep the check interval and the alert threshold separate. Checking every minute is fine and cheap. Alerting on a single failed check is not, because transient packet loss and brief restarts are normal. Require several consecutive failures, or a failure sustained across a defined window, before the alert fires. The same applies in reverse: require a few consecutive successes before declaring recovery, or you will get a resolve notification followed by a fresh alert every time a service flaps.

Watching the pieces that are not HTTP

Not everything worth monitoring answers on port 443. DNS resolution is the first thing to break and the last thing people think to check. A record can expire, a zone can be misconfigured, and the site becomes unreachable while every server is perfectly healthy. Query the authoritative nameservers directly so you are testing the zone and not a resolver's cache:

dig +short A example.com @ns1.example.net
dig +short CNAME www.example.com

Compare the answer against what you expect. If the A record returns nothing, the zone is broken regardless of what the web servers are doing. Do the same for the MX and TXT records if mail or verification depends on them. Certificate expiry is the other silent failure: a cert that lapses takes the site down for every browser at once. Have the collector parse the certificate during the TLS handshake and alert on remaining validity, so you find out before the expiry date rather than after.

For hosts that should answer on other ports, a TCP connect check is enough. It tells you the port is open and accepting, which is a different question from whether the application behind it is healthy, and you often want both.

Making one dashboard tell the truth

Give every check a stable name and a small set of labels: the service it belongs to, the environment, and the region of the probe. Labels are what let you group a service's endpoints together and see one status per service rather than one per URL. Without them you end up with a wall of green dots and no way to tell which ones belong to the same customer facing thing.

Send the results somewhere you can query, not just somewhere you can look at. A time series store lets you ask questions the dashboard does not answer, such as how often an endpoint has failed over the past week or whether latency has been creeping up. Keep the raw check results, including the response time and the failure reason, so that when something breaks you can tell a timeout from a TLS error from a bad status code without guessing.

Route alerts by service, not by host. The person who can fix a database problem is rarely the person who owns the front end, and an alert that goes to everyone gets acted on by no one. Set a clear rule for what pages a human immediately, what goes to a chat channel, and what is only recorded. Most checks should fall into the last two categories.

Next steps

Start by listing every endpoint that matters and writing down, for each one, what a healthy response looks like: the status code, a string in the body, the record it should resolve to. Then run the curl and dig commands above against each one from a machine outside your network and compare the results with what you expect. Once that list is accurate, point two collectors at it, set consecutive failure thresholds, and only then connect the alerts. The dashboard will be boring after that, which is exactly what you want.

Related articles

Subscribe to our newsletter

Get the latest hosting tips, performance insights, and industry news.