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.

ComponentTCP portURL PathMethodExpected result
Server17010/zato/pingGET200 OK with a JSON pong
Dashboard8183/GET302 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:

$ curl -I http://localhost:8183/
HTTP/1.1 302 Found
Location: /zato

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.

Learn more