@cryptotaxi247 / netdata-1 / commits / 06be94217

Regenerate integrations docs (#20925)

Co-authored-by: ilyam8 <22274335+ilyam8@users.noreply.github.com>

Netdata bot committed Sep 4, 2025 at 08:13 UTC 06be94217d00f9afbac71177c34c65e1e0b6c9fc
1 file changed +38
src/go/plugin/go.d/collector/nginx/integrations/nginx.md
+38
@@ -93,6 +93,44 @@ There are no alerts configured by default for this integration.
93
94 Configure [ngx_http_stub_status_module](https://nginx.org/en/docs/http/ngx_http_stub_status_module.html).
95
96 +1. Add a status location
97 +
98 + Create a small server/location that only listens on localhost and exposes `/stub_status`:
99 +
100 + **For local monitoring (default):**
101 +
102 + ```nginx
103 + # /etc/nginx/conf.d/stub_status.conf
104 + server {
105 + listen 127.0.0.1:80;
106 + server_name localhost 127.0.0.1;
107 +
108 + location = /stub_status {
109 + stub_status; # exposes NGINX counters
110 + access_log off; # keep logs clean
111 + allow 127.0.0.1; # only local access
112 + deny all;
113 + }
114 + }
115 + ```
116 +
117 + **For remote monitoring:**
118 + - Change `listen` to bind to an accessible interface (e.g., `listen 80;`)
119 + - Replace `allow 127.0.0.1;` with your Netdata collector's IP address
120 + - Keep `deny all;` to block other IPs
121 +
122 +2. Reload NGINX and restart Netdata
123 +
124 + ```bash
125 + nginx -t
126 + # if OK:
127 + systemctl reload nginx # or: nginx -s reload
128 +
129 + systemctl restart netdata
130 + ```
131 +
132 + After restart, Netdata will auto-detect the endpoint and begin collecting NGINX metrics.
133 +
134
135
136 ### Configuration