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