racker/rackspace-monitoring

Name: rackspace-monitoring

Owner: racker

Description: Python client library for Rackspace Cloud Monitoring based on Apache Libcloud.

Created: 2011-11-04 05:36:24.0

Updated: 2017-12-27 17:22:44.0

Pushed: 2017-08-11 00:59:01.0

Homepage:

Size: 248

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

rackspace-monitoring

rackspace-monitoring is a Python client library for Rackspace Cloud Monitoring built on top of Apache Libcloud.

Installation

Library can be installed using pip:

install rackspace-monitoring

Usage

 pprint import pprint

 rackspace_monitoring.providers import get_driver
 rackspace_monitoring.types import Provider

= get_driver(Provider.RACKSPACE)
er = Cls('username', 'api key')
nt(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 certificate files, you will see an error similar to the one below:

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

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

Testing, style, code coverage

Running tests

sudo tox

This will run tests on all the supported versions.

If you only want to run tests for a single version use:

sudo tox -e <version>

Where version is one of:

Checking pep8 compliance

python setup.py pep8

Generating code coverage report

python setup.py coverage

Build status

Build Status

Issues, Feedback

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


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.