Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
martinrusev committed Mar 15, 2014
1 parent 37a63d1 commit 1eefafd
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions nginx/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Nginx Plugin


Monitors Nginx. Sends to Amon the the following metrics:

- Connections - reading, writing, waiting
- Requests per second

## Installing

The Nginx plugin requires Amon agent version 0.8+. To check your agent version: `$ /etc/init.d/amon-agent status`.
You also need to enable the `HttpStubStatusModule` - http://wiki.nginx.org/HttpStubStatusModule in your Nginx configuration files

To install the plugin:


$ cp /etc/amonagent/plugins/nginx/nginx.conf.example /etc/amonagent/plugins-enabled/nginx.conf


## Configuration

* **status_url** - Your Nginx status url.


## Testing

To test the installation, run the following:


$ /etc/init.d/amon-agent plugins


If everything works as expected, restart the agent and in a couple of minutes you will see the metrics in Amon

0 comments on commit 1eefafd

Please sign in to comment.