Skip to content

Server health Since v0.2 ​

Each node reports what it sees of every server in every pool: a state, the reason and Envoy's counters. The console, the CLI and the API show those observations per node, so a server that fails from one node but works from the other is visible.

Before you begin ​

  • Role: viewer or above. Scoped readers see only the pools their applications use.
  • A health check on the pool gives measured health. Without one, servers show unchecked. To add one, see Server pools.

Read server health ​

text
1. Open Traffic > Server pools to see health per pool and per server.
2. Select a pool to see each node's observation time, health, reason, requests, errors and
   connect failures. The page refreshes every 5 seconds.
3. An application's Server pool page shows the same tables.
sh
waap pools health
waap pools health -json
text
GET /v1/pools/health

The pool list and get responses also carry health: the worst state reported across nodes.

States ​

StateMeaning
healthyA configured active health check passed.
unhealthyAn active check failed, Envoy ejected the host as an outlier, or health is degraded. Read the reason.
drainingNo new requests go to it. Existing work can finish. Health checks continue.
disabledRemoved from Envoy by configuration. No requests and no checks.
uncheckedNo check is configured, the first check is pending, the server is absent from the report, or observations are unavailable. This is not measured health.

A pool summary orders states from worst to best: unhealthy, disabled, draining, unchecked, healthy.

How observations are made ​

Each node reads Envoy's cluster status through the Envoy admin socket every 5 seconds, with a 1 second timeout and a 1 MiB response limit. Detection follows the pool's check interval and thresholds, so allow a further 5 seconds for the cached observation.

  • A failed read discards the previous healthy claim. An expired observation becomes unchecked. Each node shows its observation time, stale, error when unavailable and truncated.
  • After a configuration change, health waits for Envoy to accept it and for a new observation. A newly enabled check cannot inherit a previous configuration's result.
  • Maintenance states (draining, disabled) follow the configuration even when the reader is unavailable.
  • Requests, errors and connect failures are Envoy's per-host counters. They reset when Envoy restarts or recreates a host, so they are not durable traffic totals. A DNS server name combines the counters and the worst health of its resolved hosts.

In a high-availability pair

Both nodes show local and peer observations. A heartbeat carries at most 4,096 server entries, in configuration order, with truncated: true when entries were left out. Missing entries are not evidence of health. A lost peer or an expired report is marked stale and cannot contribute a healthy claim. Health observations do not affect the HA election or the failure policy. Both nodes must run a version that reports health: older peers keep their heartbeat link but report no server observations.

Limits ​

LimitValue
Observation refresh5 seconds
Admin read timeout1 second
Admin response size1 MiB
Server entries per heartbeat4,096

Troubleshooting ​

Every server shows unchecked. Cause: the pool has no health check, or the node has not read Envoy yet. Check: the pool's Health check path. Fix: set a path.

A server is unhealthy on one node only. Cause: the path from that node to the server fails. Check: the per-node reason in the pool page. Fix: repair the route or firewall from that node.