ZenPack:Nginx Status
- Author(s)
- Nick Anderson
- Current Maintainer(s)
- Nick Anderson
- License
- GNU General Public License, Version 2, or later
- ZenPack name
- ZenPacks.community.NginxStatus
- More Information
- GitHub page/HomePage
- Link to more docs
- View Documentation
- Git sources (for cloning)
- Link
Nginx Status ZenPack
Warning
The ZenPack Catalog has moved to its new home at https://www.zenoss.com/product/zenpacks as of January 17, 2017. The following information may be out of date, and this page will eventually be removed.
Support
This ZenPack is developed by the Zenoss user community and supported via our online forums. Zenoss, Inc. does not provide direct support for this ZenPack.
Releases
- Version 1.1- Download
- Compatible with Zenoss Core 2.5.x, Zenoss Core 3.1.x, Zenoss Core 3.2.x, Zenoss Core 4.2.x
Background
Nginx is a great little web server. I have posted previously about using it as a reverse proxy. Whether you're using it as a reverse proxy or as a normal web server you will probably eventually want to know what its doing over time so you can adjust resources as necessary.
The other day I threw together a ZenPack to make it easier to setup monitoring on new Zenoss instances. It contains a command data source “check_nginx_ng” which is a slightly modified version of Chris Kelly's 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 your interested you can pick it up over on GitHub.
Installation
Normal Installation (packaged egg)
- Download the appropriate egg file for the version of Zenoss you are running.
- Ensure you are logged in as the zenoss user:
$ sudo su - zenoss
- Install the ZenPack:
$ zenpack --install ZenPacks.community.NginxStatus-*.egg
- Restart these services:
$ zenoss restart
Developer Mode Installation
In order to do a development mode installation you will want to clone the existing git repository, and then use the --link flag with the zenpack command:
- Ensure you are logged in as the zenoss user:
$ sudo su - zenoss
- Start by cloning the upstream repository:
$ git clone git://github.com/nickanderson/ZenPacks.community.NginxStatus.git
- Next, perform the installation:
$ zenpack --link --install ZenPacks.community.NginxStatus
- Finally, restart these serivices:
$ zenoss restart
Discuss
New: Don't forget to add yourself to the Zenoss User Map!