local_2:
user : 'root'
- password : 'blablablabla'
+ pass : 'blablablabla'
socket : '/var/run/mysqld/mysqld.sock'
update_every : 1
remote:
user : 'admin'
- password : 'bla'
+ pass : 'bla'
host : 'example.org'
port : 9000
retries : 20
# nginx
-This module will monitor one or more nginx servers depending on configuration.
+This module will monitor one or more nginx servers depending on configuration. Servers can be either local or remote.
**Requirements:**
- * nginx with configured `stub_status`
+ * nginx with configured 'ngx_http_stub_status_module'
+ * 'location /stub_status'
+Example nginx configuration can be found in 'python.d/nginx.conf'
It produces following charts:
Without configuration, module attempts to connect to `http://localhost:8080/manager/status?XML=true`, without any credentials.
So it will probably fail.
----
\ No newline at end of file
+---