ZenPacks

Nginx Status ZenPack

Monitors the nginx Web server/proxy.

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 lit­tle web server. I have posted pre­vi­ously about using it as a reverse proxy. Whether you're using it as a reverse proxy or as a nor­mal web server you will prob­a­bly even­tu­ally 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 eas­ier to setup mon­i­tor­ing on new Zenoss instances. It con­tains a com­mand data source “check_nginx_ng” which is a slightly mod­i­fied ver­sion 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 major­ity of the work! If your inter­ested you can pick it up over on GitHub.

Installation

Normal Installation (packaged egg)

  1. Download the appropriate egg file for the version of Zenoss you are running.
  2. Ensure you are logged in as the zenoss user:
    $ sudo su - zenoss
  3. Install the ZenPack:
    $ zenpack --install ZenPacks.community.NginxStatus-*.egg
  4. 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:

  1. Ensure you are logged in as the zenoss user:
    $ sudo su - zenoss
  2. Start by cloning the upstream repository:
    $ git clone git://github.com/nickanderson/ZenPacks.community.NginxStatus.git
  3. Next, perform the installation:
    $ zenpack --link --install ZenPacks.community.NginxStatus
  4. Finally, restart these serivices:
    $ zenoss restart

Community

This ZenPack is developed and supported by the Zenoss User Community. Contact Zenoss to request more information regarding this or any other ZenPacks. Click here to view all available Zenoss Community ZenPacks.

randomness