Skip navigation
Currently Being Moderated

nginx Status

VERSION 2  Click to view document history
Created on: Jul 14, 2010 6:25 PM by Matt Ray - Last Modified:  Aug 19, 2010 5:53 PM by Matt Ray

Submitted by: Nick Anderson


From the author's blog post: Nginx  stub_status Zenpack


This ZenPack provides monitoring for the nginx HTTP and reverse proxy server.  Wether you are using it as a reverse proxy or  as a normal webserver you will probably eventually want to know what  its doing over time so you can adjust resources as necessary. It contains a command data source  “check_nginx_ng” which is a slightly modified version of Chris Kellys check_nginx_ng which in turn was based on check_nginx by Mike Adolphs. So thanks to  them for doing the majority of the work!


If you are interested you can pick  it up over on the author's github account:


Collect and graph Nginx metrics provided by the stub_status module with the nginx_status Template.
    Nginx Connections and Requests per second
        Connections Per Second
        Requests Per Second
    Nginx Requests per Connection   
        Requests Per Connection
    Nginx Connections
        Total Active Connections
To enable stub_status in Nginx config:

    location /nginx_status {
        stub_status on;
        access_log   off;
        allow ZENOSS_IP;
        deny all;



Screen shot 2010-07-14 at 5.19.36 PM.png


Installation Requirements:

  • Zenoss Versions Supported: 2.5 (py2.4 file), 3.0 (py2.6 file)
  • External Dependencies: the command bc must be installed in the zenoss user's path and the stub_status module must be installed with nginx.
  • ZenPack Dependencies: none
  • Installation Notes: zopectl restart after installing this ZenPack.
  • Configuration: bind the nginx_status template where needed


Change History:

  • 1.0 initial release

Tested: This ZenPack was tested with version 2.5.2 and the py2.6 file reportedly works with 3.0.


Tagged Releases:

Known issues:

Note: binary attachments ending in .zip will need to be unzipped before use.
Comments (2)