ZenPack:Nginx Status

From Zenoss Wiki
This is the approved revision of this page, as well as being the most recent.
Jump to: navigation, search
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


Applications Monitored: 



Nginx Status ZenPack

Monitors the nginx Web server/proxy.

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

Discuss

Purplemarker.png New: Don't forget to add yourself to the Zenoss User Map!

blog comments powered by Disqus