Blog
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 status | Expected response |
---|---|---|---|---|---|
Server | 17010 | /zato/ping | GET | 200 OK | JSON pong |
Dashboard | 8183 | / | GET | 200 OK | (None) |
Scheduler | 31530 | / | GET | 200 OK | (None) |
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):