Support Center
Each Zato component offers one or more HTTP ping endpoints - dedicated addresses that external monitoring tools can use to discern when the component is operational.
The built-in load-balancer has two endpoints to ping. On port 11223, the actual runtime load-balancer processes requests. On port 20151, a side process, called an agent, processes administrative requests from Dashboard to the load-balancer.
To ping a load-balancer's instance:
$ curl -XGET http://localhost:11223/zato-lb-alive
<html><body><h1>200 OK</h1>
Service ready.
</body></html>
$
To ping a load-balancer's agent (note that the method is POST and that there should be no output):
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 (note that there should be no output):
To ping an instance of scheduler (note that there should be no output):