Skip to content

Commit

Permalink
First README. Still needs link to video.
Browse files Browse the repository at this point in the history
  • Loading branch information
cluther committed Apr 27, 2011
1 parent 41b31d6 commit 2281d07
Showing 1 changed file with 108 additions and 6 deletions.
114 changes: 108 additions & 6 deletions README.markdown
Original file line number Diff line number Diff line change
@@ -1,10 +1,112 @@
# ZenPacks.zenoss.CloudFoundry
Adds the ability to monitor a CloudFoundry vcap deployment from the outside
through the API.
Please watch the [Monitoring Cloud Foundry][] video for a quick introduction that covers most of the details below.

_WARNING_: This is currently a work in progress and incomplete.
## About
This project is a [Zenoss][] extension (ZenPack) that makes it possible to monitor the capacity and performance of applications running on a [Cloud Foundry][] platform. This works for applications hosted in a local micro-cloud or a hosted environment such as the one offered by [VMware][] at cloudfoundry.com.

[Cloud Foundry][] is an open PAAS (Platform as a Service) project initiated by [VMware][].

## Installation
You must first have, or install, Zenoss 3.1.0 or later. Core and Enterprise versions are supported. You can download the free Core version of Zenoss from <http://community.zenoss.org/community/download>.

### Normal Installation (packaged egg)
Download the [latest CloudFoundry ZenPack][]. Copy this file to your Zenoss server and run the following commands as the zenoss user.

zenpack --install ZenPacks.zenoss.CloudFoundry-1.0.0-py2.6.egg
zenoss restart

### Developer Installation (link mode)
If you wish to further develop and possibly contribute back to the CloudFoundry ZenPack you should clone the [git repository][], then install the ZenPack in developer mode using the following commands.

git clone TODO
zenpack --link --install ZenPacks.zenoss.CloudFoundry
zenoss restart

## Usage
Install the ZenPack as your normally would. Navigate to Infrastructure to find
a new "Add CloudFoundry Endpoint..." option under the normal device addition
menu button.
One the CloudFoundry ZenPack is installed you can add endpoints by going to the infrastructure screen and clicking the normal button for adding devices. You will find a new option labeled, "Add CloudFoundry Endpoint."

Choose that option and you'll be presented with a dialog asking for the following inputs.
1. Target - An example would be api.cloudfoundry.com or api.vcap.me.
2. Email - The email address you used to register.
3. Password

Once you click Add Zenoss will contact the target and get all of the operationally interesting information that exists. Once it is complete you'll find a new device in the /CloudFoundy device class with the same name as the target you entered into the dialog. Click into this new device to see everything that was discovered.

The following elements are discovered:
* Frameworks
* Runtimes
* App Servers
* System Services
* Provisioned Services
* Apps
* App Instances

The following performance metrics are collected:
* Per-Endpoint (target)
* Limits
* App URIs
* Apps
* Memory
* Services
* Usage
* App URIs
* Apps
* App Instances
* Running App Instances
* Memory
* Services
* Utilization
* App URIs
* Apps
* Memory
* Services
* Per-App
* Resources
* Memory
* Disk
* Usage
* CPU (average across instances)
* Memory
* Disk
* Utilization
* Memory
* Disk
* Instances
* Total
* Running
* Services
* URIs
* Per-App Instance
* Quota
* Memory
* Disk
* Usage
* CPU
* Memory
* Disk
* Util
* Memory
* Disk

The following default thresholds are configured:
* Over 99% utilization of..
* Endpoint App URIs
* Endpoint Apps
* Endpoint Memory
* Endpoint Services
* App CPU (average across instances)
* App Memory
* App Disk
* App Instance CPU
* App Instance Memory
* App Instance Disk
* Less than 1 running instance per App

## References
[1]: http://localhost/ "Monitoring Cloud Foundry"
[2]: http://www.zenoss.com/ "Zenoss"
[3]: https://github.com/downloads/zenoss/ZenPacks.zenoss.CloudFoundry/ZenPacks.zenoss.CloudFoundry-1.0.0-py2.6.egg "latest CloudFoundry ZenPack"
[4]: https://github.com/zenoss/ZenPacks.zenoss.CloudFoundry "git repository"
[5]: http://www.vmware.com/ "VMware"
[6]: http://cloudfoundry.com/ "Cloud Foundry"
[7]: https://github.com/cloudfoundry/vcap "vcap project"

0 comments on commit 2281d07

Please sign in to comment.