0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-05-14 13:32:36 +00:00
netdata_netdata/collectors/python.d.plugin/nginx
Costa Tsaousis d802f83e4a
Fix make dist ()
* fix make dist; fixes 

* added daemon dir

* fix edit-config in dist

* removed config.h from file dependencies

* do not attempt to detect stock files on vanilla installations

* add missing files to dist

* another fix for missing dist files

* modular plugins are now self-configured for automake

* updated lgtm

* fix cncf urls
2018-10-16 15:26:28 +03:00
..
Makefile.inc Fix make dist () 2018-10-16 15:26:28 +03:00
nginx.chart.py modularized all source code () 2018-10-15 23:16:42 +03:00
nginx.conf modularized all source code () 2018-10-15 23:16:42 +03:00
README.md modularized all source code () 2018-10-15 23:16:42 +03:00

nginx

This module will monitor one or more nginx servers depending on configuration. Servers can be either local or remote.

Requirements:

  • 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:

  1. Active Connections
  • active
  1. Requests in requests/s
  • requests
  1. Active Connections by Status
  • reading
  • writing
  • waiting
  1. Connections Rate in connections/s
  • accepts
  • handled

configuration

Needs only url to server's stub_status

Here is an example for local server:

update_every : 10
priority     : 90100

local:
  url     : 'http://localhost/stub_status'
  retries : 10

Without configuration, module attempts to connect to http://localhost/stub_status