nginx_status_info
Retrieve nginx stub_status connection and request counters
Collection: community.general
Full Name: community.general.nginx_status_info
Synopsis
Retrieve nginx stub_status connection and request counters
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| url | string | yes | HTTP or HTTPS URL of the nginx stub_status endpoint | |
| timeout | int | 10 | HTTP connection and socket inactivity timeout in seconds |
Example
yaml
- name: Read local nginx status
community.general.nginx_status_info:
url: http://localhost/nginx_status
register: nginx_status