# rackspace-monitoring

rackspace-monitoring is a Python client library for Rackspace Cloud Monitoring
built on top of [Apache Libcloud](http://libcloud.apache.org).

# Installation

Library can be installed using `pip`:

```bash
pip install rackspace-monitoring
```

# Usage

```python
from pprint import pprint

from rackspace_monitoring.providers import get_driver
from rackspace_monitoring.types import Provider

Cls = get_driver(Provider.RACKSPACE)
driver = Cls('username', 'api key')
pprint(driver.list_entities())
```

# Testing, style, code coverage

## Running tests

`python setup.py test`

## Checking pep8 compliance

`python setup.py pep8`

## Genrating code coverage report

`python setup.py coverage`

# Issues, Feedback

Please use Github issue tracker or send an email to `cmbeta@rackspace.com`.

# rackspace-monitoring

rackspace-monitoring is a Python client library for Rackspace Cloud Monitoring
built on top of [Apache Libcloud](http://libcloud.apache.org).

# Installation

Library can be installed using `pip`:

```bash
pip install rackspace-monitoring
```

# Usage

```python
from pprint import pprint

from rackspace_monitoring.providers import get_driver
from rackspace_monitoring.types import Provider

Cls = get_driver(Provider.RACKSPACE)
driver = Cls('username', 'api key')
pprint(driver.list_entities())
```

# Certificate verification

Libcloud verifies server SSL certificate by default. This means you need to
have the correct CA certificate files installed on your computer for this
library to work.

If Libcloud cannot find CA ertificate files, you will see an error similar to
the one bellow:

`"RuntimeError: No CA Certificates were found in CA_CERTS_PATH."`

This can be addresses by installing the CA certificate files. Bellow you can
find the names of the packages which include CA certificate files.

* *openssl* on CentOS/Fedora (yum)
* *ca-certificates* on Debian/Ubuntu/Arch/Gentoo (apt-get)
* *ca_root_nss* on FreeBSD (ports)
* *curl-ca-bundle* on Mac OS X (ports)

# Testing, style, code coverage

## Running tests

`python setup.py test`

## Checking pep8 compliance

`python setup.py pep8`

## Genrating code coverage report

`python setup.py coverage`

# Issues, Feedback

Please use Github issue tracker or send an email to `cmbeta@rackspace.com`.

Add info about ssl cert verification.
Add info about ssl cert verification.
