Archived community.zenoss.org | full text search
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


Description:

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: http://github.com/nickanderson/ZenPacks.community.NginxStatus

 

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
    Reading
    Writing
    Waiting
   
To enable stub_status in Nginx config:
http://wiki.nginx.org/NginxHttpStubStatusModule

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

 


Screenshots:

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

ZenPacks.community.NginxStatus.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

History:

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.

Source: http://zenpacks.zenoss.org/trac-zenpacks/browser/zenpacks/ZenPacks.community.NginxStatus

Tagged Releases:


Known issues:

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