Skip to content

Commit 0e1197d

Browse files
authored
Updated Monitoring with screenshots, r34 examples, ref links, yaml. (#349)
1 parent 19bf6ef commit 0e1197d

File tree

4 files changed

+78
-25
lines changed

4 files changed

+78
-25
lines changed

content/nginx/admin-guide/monitoring/live-activity-monitoring.md

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ NGINX Plus provides various monitoring tools for your server infrastructure:
2727
2828
* * *
2929

30-
[![live activity monitoring](/nginx/images/nginx-plus-dashboard-r30-overview-2.png)](https://demo.nginx.com/dashboard.html "Live status metrics from NGINX Plus")
30+
[![live activity monitoring](/nginx/images/nginx-plus-dashboard-r34-overview.png)](https://demo.nginx.com/dashboard.html "Live status metrics from NGINX Plus")
3131

3232
* * *
3333

@@ -264,7 +264,7 @@ In the address bar of your browser, type-in the address that corresponds to your
264264
265265
There is also a live demo page from NGINX available at [demo.nginx.com/dashboard.html](https://demo.nginx.com/dashboard.html):
266266
267-
[![live activity monitor](/nginx/images/nginx-plus-dashboard-r30-overview-2.png)](https://demo.nginx.com/dashboard.html "Live load-balancing status from NGINX Plus")
267+
[![live activity monitor](/nginx/images/nginx-plus-dashboard-r34-overview.png)](https://demo.nginx.com/dashboard.html "Live load-balancing status from NGINX Plus")
268268
269269
<span id="dashboard_tabs"></span>
270270
### Tabs Overview
@@ -313,11 +313,11 @@ You can add new or modify and remove upstream servers directly from the Dashboar
313313
314314
In the **Upstreams** or **TCP/UDP Upstreams** tab, click the pencil icon next to the server name and choose between **Edit selected** and **Add server** buttons:
315315
316-
![In editing mode on the 'Upstreams' tab in the NGINX Plus live activity monitoring dashboard, you can add, remove, or modify servers](https://cdn.wp.nginx.com/wp-content/uploads/2015/09/Screen-Shot-2015-09-08-at-10.31.14-AM.png)
316+
![In editing mode on the 'Upstreams' tab in the NGINX Plus live activity monitoring dashboard, you can add, remove, or modify servers](/nginx/images/dashboard-tab-upstreams-edit.png)
317317
318318
To add an upstream server, click **Add server**:
319319
320-
![The 'Add server' interface for adding servers to an upstream group in the NGINX Plus live activity monitoring dashboard](https://cdn.wp.nginx.com/wp-content/uploads/2015/09/Screen-Shot-2015-09-08-at-10.47.22-AM.png)
320+
![The 'Add server' interface for adding servers to an upstream group in the NGINX Plus live activity monitoring dashboard](/nginx/images/dashboard-add-server.png)
321321
322322
To remove or modify an upstream server, click the box to the left of each server’s name, then click **Edit selected**:
323323
@@ -398,12 +398,12 @@ The JSON data returned:
398398

399399
```json
400400
{
401-
"version" : "1.25.1",
402-
"build" : "nginx-plus-r30",
401+
"version" : "1.27.4",
402+
"build" : "nginx-plus-r34",
403403
"address" : "206.251.255.64",
404404
"generation" : 14,
405-
"load_timestamp" : "2023-08-15T10:00:00.114Z",
406-
"timestamp" : "2023-08-15T14:06:36.475Z",
405+
"load_timestamp" : "2025-04-01T10:00:00.114Z",
406+
"timestamp" : "2025-04-01T14:06:36.475Z",
407407
"pid" : 2201,
408408
"ppid" : 92033
409409
}
@@ -419,8 +419,8 @@ The JSON data returned:
419419

420420
```json
421421
{
422-
"version" : "1.25.1",
423-
"build" : "nginx-plus-r30"
422+
"version" : "1.27.4",
423+
"build" : "nginx-plus-r34"
424424
}
425425
```
426426

@@ -521,15 +521,16 @@ To enable the Swagger UI:
521521

522522
|OpenAPI YAML File/API Version | NGINX Plus Version | Changes |
523523
| ---| --- | --- |
524-
|[{{<fa "download">}}OpenAPI v2](../../yaml/v9/nginx_api.yaml) for API version 9 | NGINX Plus Releases [30](https://docs.nginx.com/nginx/releases/#nginxplusrelease-30-r30) | The [`/workers/`](https://nginx.org/en/docs/http/ngx_http_api_module.html#workers_) data were added|
525-
|[{{<fa "download">}}OpenAPI v2](../../yaml/v8/nginx_api.yaml) for API version 8 | NGINX Plus Releases [27](https://docs.nginx.com/nginx/releases/#nginxplusrelease-27-r27), [28](https://docs.nginx.com/nginx/releases/#nginxplusrelease-28-r28), [29](https://docs.nginx.com/nginx/releases/#nginxplusrelease-29-r29) | SSL statistics for each HTTP [upstream](https://nginx.org/en/docs/http/ngx_http_api_module.html#def_nginx_http_upstream) and stream [upstream](https://nginx.org/en/docs/http/ngx_http_api_module.html#def_nginx_stream_upstream), SSL statistics for each HTTP [server zone](https://nginx.org/en/docs/http/ngx_http_api_module.html#def_nginx_http_server_zone) and stream [server zone](https://nginx.org/en/docs/http/ngx_http_api_module.html#def_nginx_stream_server_zone), extended statistics for [SSL](https://nginx.org/en/docs/http/ngx_http_api_module.html#def_nginx_ssl_object) endpoint|
526-
|[{{<fa "download">}}OpenAPI v2](../../yaml/v7/nginx_api.yaml) for API version 7 | NGINX Plus Releases [25](https://docs.nginx.com/nginx/releases/#nginxplusrelease-25-r25), [26](https://docs.nginx.com/nginx/releases/#nginxplusrelease-26-r26)| The `codes` data in `responses` for each HTTP [upstream](https://nginx.org/en/docs/http/ngx_http_api_module.html#def_nginx_http_upstream), [server zone](https://nginx.org/en/docs/http/ngx_http_api_module.html#def_nginx_http_server_zone), and [location zone](https://nginx.org/en/docs/http/ngx_http_api_module.html#def_nginx_http_location_zone) were added|
527-
|[{{<fa "download">}}OpenAPI v2](../../yaml/v6/nginx_api.yaml) for API version 6 | NGINX Plus Releases [20](https://docs.nginx.com/nginx/releases/#nginxplusrelease-20-r20), [21](https://docs.nginx.com/nginx/releases/#nginxplusrelease-21-r21), [22](https://docs.nginx.com/nginx/releases/#nginxplusrelease-22-r22), [23](https://docs.nginx.com/nginx/releases/#nginxplusrelease-23-r23), [24](https://docs.nginx.com/nginx/releases/#nginxplusrelease-24-r24) | The [`/stream/limit_conns/`](https://nginx.org/en/docs/http/ngx_http_api_module.html#stream_limit_conns_), [`/http/limit_conns/`](https://nginx.org/en/docs/http/ngx_http_api_module.html#http_limit_conns_), and [`/http/limit_reqs/`](https://nginx.org/en/docs/http/ngx_http_api_module.html#http_limit_reqs_) data were added |
528-
|[{{<fa "download">}}OpenAPI v2](../../yaml/v5/nginx_api.yaml) for API version 5 | [NGINX Plus Release 19](https://docs.nginx.com/nginx/releases/#nginxplusrelease-19-r19) | The `expire` parameter of a [key-value](https://nginx.org/en/docs/http/ngx_http_keyval_module.html) pair can be [set](https://nginx.org/en/docs/http/ngx_http_api_module.html#postHttpKeyvalZoneData) or [changed](https://nginx.org/en/docs/http/ngx_http_api_module.html#patchHttpKeyvalZoneKeyValue), the [`/resolvers/`](https://nginx.org/en/docs/http/ngx_http_api_module.html#resolvers_) and [`/http/location_zones/`](https://nginx.org/en/docs/http/ngx_http_api_module.html#http_location_zones_) data were added |
529-
|[{{<fa "download">}}OpenAPI v2](../../yaml/v4/nginx_api.yaml) for API version 4 | [NGINX Plus Release 18](https://docs.nginx.com/nginx/releases/#nginxplusrelease-18-r18) | The `path` and `method` fields of [nginx error object](https://nginx.org/en/docs/http/ngx_http_api_module.html#def_nginx_error) were removed. These fields continue to exist in earlier api versions, but show an empty value |
530-
|[{{<fa "download">}}OpenAPI v2](../../yaml/v3/nginx_api.yaml) for API version 3 | NGINX Plus Releases [15](https://docs.nginx.com/nginx/releases/#nginxplusrelease-15-r15), [16](https://docs.nginx.com/nginx/releases/#nginxplusrelease-16-r16), [17](https://docs.nginx.com/nginx/releases/#nginxplusrelease-17-r17) | The [`/stream/zone_sync/`](https://nginx.org/en/docs/http/ngx_http_api_module.html#stream_zone_sync_) data were added |
531-
|[{{<fa "download">}}OpenAPI v2](../../yaml/v2/nginx_api.yaml) for API version 2 | [NGINX Plus Release 14](https://docs.nginx.com/nginx/releases/#nginxplusrelease-14-r14) | The [`drain`](https://nginx.org/en/docs/http/ngx_http_api_module.html#def_nginx_http_upstream_conf_server) parameter was added |
532-
|[{{<fa "download">}}OpenAPI v2](../../yaml/v1/nginx_api.yaml) for API version 1 | [NGINX Plus Release 13](https://docs.nginx.com/nginx/releases/#nginx-plus-release-13-r13) | The [`/stream/keyvals/`](https://nginx.org/en/docs/http/ngx_http_api_module.html#stream_keyvals_) data were added |
524+
|[{{<fa "download">}}OpenAPI v2](/nginx/admin-guide/yaml/v9/nginx_api.yaml) for API version 9 | NGINX Plus Releases [33]({{< ref "/nginx/releases.md#r33" >}}), [34]({{< ref "nginx/releases.md#r34" >}})| The [`/license`](https://nginx.org/en/docs/http/ngx_http_api_module.html#license) data were added|
525+
|[{{<fa "download">}}OpenAPI v2](/nginx/admin-guide/yaml/v9/nginx_api.yaml) for API version 9 | NGINX Plus Releases [30]({{< ref "nginx/releases.md#r30" >}}), [31]({{< ref "nginx/releases.md#r31" >}}), [32]({{< ref "nginx/releases.md#r32" >}}) | The [`/workers/`](https://nginx.org/en/docs/http/ngx_http_api_module.html#workers_) data were added|
526+
|[{{<fa "download">}}OpenAPI v2](/nginx/admin-guide/yaml/v8/nginx_api.yaml) for API version 8 | NGINX Plus Releases [27]({{< ref "nginx/releases.md#r27" >}}), [28]({{< ref "nginx/releases.md#r28" >}}), [29]({{< ref "nginx/releases.md#r29" >}}) | SSL statistics for each HTTP [upstream](https://nginx.org/en/docs/http/ngx_http_api_module.html#def_nginx_http_upstream) and stream [upstream](https://nginx.org/en/docs/http/ngx_http_api_module.html#def_nginx_stream_upstream), SSL statistics for each HTTP [server zone](https://nginx.org/en/docs/http/ngx_http_api_module.html#def_nginx_http_server_zone) and stream [server zone](https://nginx.org/en/docs/http/ngx_http_api_module.html#def_nginx_stream_server_zone), extended statistics for [SSL](https://nginx.org/en/docs/http/ngx_http_api_module.html#def_nginx_ssl_object) endpoint|
527+
|[{{<fa "download">}}OpenAPI v2](/nginx/admin-guide/yaml/v7/nginx_api.yaml) for API version 7 | NGINX Plus Releases [25]({{< ref "nginx/releases.md#r25" >}}), [26]({{< ref "nginx/releases.md#r26" >}}),| The `codes` data in `responses` for each HTTP [upstream](https://nginx.org/en/docs/http/ngx_http_api_module.html#def_nginx_http_upstream), [server zone](https://nginx.org/en/docs/http/ngx_http_api_module.html#def_nginx_http_server_zone), and [location zone](https://nginx.org/en/docs/http/ngx_http_api_module.html#def_nginx_http_location_zone) were added|
528+
|[{{<fa "download">}}OpenAPI v2](/nginx/admin-guide/yaml/v6/nginx_api.yaml) for API version 6 | NGINX Plus Releases [20]({{< ref "nginx/releases.md#r20" >}}), [21]({{< ref "nginx/releases.md#r21" >}}), [22]({{< ref "nginx/releases.md#r22" >}}), [23]({{< ref "nginx/releases.md#r23" >}}), [24]({{< ref "nginx/releases.md#r24" >}}) | The [`/stream/limit_conns/`](https://nginx.org/en/docs/http/ngx_http_api_module.html#stream_limit_conns_), [`/http/limit_conns/`](https://nginx.org/en/docs/http/ngx_http_api_module.html#http_limit_conns_), and [`/http/limit_reqs/`](https://nginx.org/en/docs/http/ngx_http_api_module.html#http_limit_reqs_) data were added |
529+
|[{{<fa "download">}}OpenAPI v2](/nginx/admin-guide/yaml/v5/nginx_api.yaml) for API version 5 | NGINX Plus Release [19]({{< ref "nginx/releases.md#r19" >}}) | The `expire` parameter of a [key-value](https://nginx.org/en/docs/http/ngx_http_keyval_module.html) pair can be [set](https://nginx.org/en/docs/http/ngx_http_api_module.html#postHttpKeyvalZoneData) or [changed](https://nginx.org/en/docs/http/ngx_http_api_module.html#patchHttpKeyvalZoneKeyValue), the [`/resolvers/`](https://nginx.org/en/docs/http/ngx_http_api_module.html#resolvers_) and [`/http/location_zones/`](https://nginx.org/en/docs/http/ngx_http_api_module.html#http_location_zones_) data were added |
530+
|[{{<fa "download">}}OpenAPI v2](/nginx/admin-guide/yaml/v4/nginx_api.yaml) for API version 4 | NGINX Plus Release [18]({{< ref "nginx/releases.md#r18" >}}) | The `path` and `method` fields of [nginx error object](https://nginx.org/en/docs/http/ngx_http_api_module.html#def_nginx_error) were removed. These fields continue to exist in earlier api versions, but show an empty value |
531+
|[{{<fa "download">}}OpenAPI v2](/nginx/admin-guide/yaml/v3/nginx_api.yaml) for API version 3 | NGINX Plus Releases [15]({{< ref "nginx/releases.md#r15" >}}), [16]({{< ref "nginx/releases.md#r16" >}}), [17]({{< ref "nginx/releases.md#r17" >}}) | The [`/stream/zone_sync/`](https://nginx.org/en/docs/http/ngx_http_api_module.html#stream_zone_sync_) data were added |
532+
|[{{<fa "download">}}OpenAPI v2](/nginx/admin-guide/yaml/v2/nginx_api.yaml) for API version 2 | NGINX Plus Release [14]({{< ref "nginx/releases.md#r14" >}}) | The [`drain`](https://nginx.org/en/docs/http/ngx_http_api_module.html#def_nginx_http_upstream_conf_server) parameter was added |
533+
|[{{<fa "download">}}OpenAPI v2](/nginx/admin-guide/yaml/v1/nginx_api.yaml) for API version 1 | NGINX Plus Release [13]({{< ref "nginx/releases.md#r13" >}})| The [`/stream/keyvals/`](https://nginx.org/en/docs/http/ngx_http_api_module.html#stream_keyvals_) data were added |
533534

534535
{{</bootstrap-table>}}
535536

@@ -611,7 +612,7 @@ To access the Swagger UI page:
611612

612613
NGINX provides live examples of JSON data and Swagger UI on a demo website.
613614

614-
Live example of JSON data is available at: <https://demo.nginx.com/api/8/>
615+
Live example of JSON data is available at: [`https://demo.nginx.com/api/9/`](https://demo.nginx.com/api/9/)
615616

616617
You can send an API command with curl or with a browser:
617618

content/nginx/admin-guide/yaml/v9/nginx_api.yaml

Lines changed: 57 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ tags:
2727
- name: HTTP Limit Reqs
2828
- name: HTTP Keyvals
2929
- name: HTTP Upstreams
30+
- name: License
3031
- name: Stream
3132
- name: Stream Server Zones
3233
- name: Stream Limit Conns
@@ -2102,15 +2103,31 @@ paths:
21022103
description: Method disabled (*MethodDisabled*)
21032104
schema:
21042105
$ref: '#/definitions/NginxError'
2106+
/license:
2107+
get:
2108+
tags:
2109+
- License
2110+
- Method GET
2111+
summary: Return license info
2112+
operationId: getLicense
2113+
produces:
2114+
- application/json
2115+
responses:
2116+
'200':
2117+
description: Success
2118+
schema:
2119+
$ref: '#/definitions/NginxLicenseObject'
2120+
'404':
2121+
description: Unknown version (*UnknownVersion*)
2122+
schema:
2123+
$ref: '#/definitions/NginxError'
21052124
/workers/:
21062125
get:
21072126
tags:
21082127
- Workers
21092128
- Method GET
21102129
summary: Return statistics for all worker processes
2111-
description: |
2112-
Returns statistics for all worker processes such as
2113-
accepted, dropped, active, idle connections, total and current requests.
2130+
description: Returns statistics for all worker processes such as accepted, dropped, active, idle connections, total and current requests.
21142131
operationId: getWorkers
21152132
produces:
21162133
- application/json
@@ -2138,7 +2155,7 @@ paths:
21382155
description: |
21392156
Resets statistics for all worker processes such as
21402157
accepted, dropped, active, idle connections, total and current requests.
2141-
operationId: deleteWorkerStat
2158+
operationId: deleteWorkersStat
21422159
produces:
21432160
- application/json
21442161
responses:
@@ -2194,7 +2211,7 @@ paths:
21942211
description: |
21952212
Resets statistics of accepted, dropped, active, idle connections,
21962213
as well as total and current requests.
2197-
operationId: deleteWorkerIdStat
2214+
operationId: deleteWorkerStat
21982215
produces:
21992216
- application/json
22002217
responses:
@@ -4731,6 +4748,41 @@ definitions:
47314748
refused: 0
47324749
timedout: 243
47334750
unknown: 478
4751+
NginxLicenseObject:
4752+
title: License
4753+
description: |
4754+
License and usage reporting status of NGINX Plus instance.
4755+
properties:
4756+
eval:
4757+
type: boolean
4758+
description: Indicates whether NGINX Plus license is trial.
4759+
readOnly: true
4760+
active_till:
4761+
type: integer
4762+
description: The Unix timestamp of license expiration.
4763+
readOnly: true
4764+
reporting:
4765+
type: object
4766+
properties:
4767+
healthy:
4768+
type: boolean
4769+
description: Indicates whether the reporting state is still considered healthy despite recent failed attempts.
4770+
readOnly: true
4771+
fails:
4772+
type: integer
4773+
description: The number of failed reporting attempts, reset each time the usage report is successfully sent.
4774+
readOnly: true
4775+
grace:
4776+
type: integer
4777+
description: The number of seconds before traffic processing is stopped after unsuccessful report attempt.
4778+
readOnly: true
4779+
example:
4780+
eval: false
4781+
active_till: 1749268757
4782+
reporting:
4783+
healthy: true
4784+
fails: 2
4785+
grace: 15551961
47344786
NginxWorker:
47354787
title: Worker process
47364788
description: |
13.5 KB
Loading
Loading

0 commit comments

Comments
 (0)