Server Density plugin for monitoring the Cherokee web server
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Cherokee.py
README.textile

README.textile

Cherokee plugin for Server Density

Overview

This plugin will monitor the Cherokee web server.

Manual Installation

Manual Configuration

Cherokee web server

To enable server information and connection details:

  • Launch the web administration interface
  • Go to the “vServers” section
  • Open the “default” vserver
  • Click on the “/about” directory handler
  • Click on the “Handler” tab
  • Change the “Show Information” drop-down to select “Server Information + Connections”
  • Click on the “Security” tab
  • Next to “Allow From” enter “127.0.0.1”
  • Click “SAVE” in the top-right corner
  • Click “Graceful restart”

Now, to test the server information and connection details are available you can run the command:

curl -XGET 'http://localhost/about/info/py?type=connection_details'

Server Density agent (optional)

The Cherokee plugin will default to checking http://localhost/about/info/py?type=connection_details for stats. For most people, that will probably be sufficient. However, if you’re running Cherokee on a different server or using a different path you’ll want the plugin to use a different URL to get stats.

You can add a configuration variable to config.cfg to do this… eg:

cherokee_status_url: http://over.there.com/status/py?type=connection_details

Defining Server Density Groups

In Server Density, create the following groups in your Cherokee web server plugin:

  Title: Traffic
  tx
  rx
  accepts
  timeouts
  Title: Uptime
  seconds
  Title: Config
  threads
  Title: Connections
  number
  active
  reusable
  Title: Modules
  loggers
  handlers
  encoders
  validators
  generic
  balancers
  rules
  cryptors
  vrules
  collectors