August 2017
Intermediate to advanced
278 pages
8h 53m
English
The HTML dashboard is, of course, only one way to use the stats. Because we have direct access to the JSON data, we can pull this data from a third-party monitoring system. For instance, we can view what information is available by calling:
curl http://202.74.71.216:8188/status
This will produce a JSON based output, similar to the following:
{"version":8,"nginx_version":"1.11.10","nginx_build":"nginx-plus-r12-p3", "address":"202.74.71.216", "generation":1,"load_timestamp":1503127483754, "timestamp":1503149700611, "pid":10008,"ppid":10007, "processes":{"respawned":0}, "connections":{"accepted":945523, "dropped":0,"active":1, "idle":0}, "ssl":{"handshakes":0, "handshakes_failed":0, "session_reuses":0}, "requests":{"total":5249054, ...Read now
Unlock full access