Sha256: 43d86940e30500461a64115ae61953951fd32fce44634f0714e7cef8530f9b4e
Contents?: true
Size: 574 Bytes
Versions: 9
Compression:
Stored size: 574 Bytes
Contents
#Description The Panoptimon collector 'nginx' is intended to retrieve statistics from a running nginx instance. The nginx module 'HTTPStubStatus' is required (see below.) # Config ```json {"url": "http://localhost/nginx-status"} ``` # Output ``` {"requests":"137","writing":"1","total":"1","reading":"0"} ``` # Requisite Server Setup The nginx server must provide the information via its HTTPStubStatus module. Within a server definition simply add the following. ``` location /nginx-status { stub_status on; access_log off; allow 127.0.0.1; deny all; } ```
Version data entries
9 entries across 9 versions & 1 rubygems