Ping endpoints
Health-check endpoints for servers and the Dashboard.
Each Zato component offers an HTTP ping endpoint - a dedicated address that external monitoring tools can use to discern when the component is operational.
| Component | TCP port | URL Path | Method | Expected result |
|---|---|---|---|---|
| Server | 17010 | /zato/ping | GET | 200 OK with a JSON pong |
| Dashboard | 8183 | / | GET | 302 redirect to /zato |
To ping a server:
$ curl -XGET http://localhost:17010/zato/ping
{"pong":"zato","zato_env":{"result":"ZATO_OK","cid":"7cc657097fa0114017beeed6","details":""}}
$
To ping an instance of Dashboard - it answers with a redirect to its login page:
All the other ports an environment listens on are in the default ports reference.
The whole subject - probe examples for Kubernetes and Docker Compose, and the difference between pinging Zato and having Zato ping the systems it calls - is under health checks.