Monitoring plugin framework for OpenStack clouds
Go to file
Matt Thompson 98cb350edc Only import os_utils when plugin is called
Currently, if a dependency of one of the os_ plugins is missing,
running monitorstack with no args returns (for example):

```
OpenStack plugins require access to the OpenStackSDK. \
    Please install "python-openstacksdk". \
    ERROR: No module named keystoneauth1.loading
```

This commit moves the os_utils import in the os_ plugins to within cli,
similar to what is being done in the kvm module.  This allows the
monitorstack cli to operate normally even if a plugin cannot be loaded.

Change-Id: I2ff1ad8c6365f6592191f09ea9c0d543f81e16ba
2017-06-23 11:56:24 -04:00
doc [Docs] Fix path to example config file 2017-06-13 13:54:12 -07:00
etc Remove project_name = nova from sample config 2017-06-19 18:48:18 +00:00
monitorstack Only import os_utils when plugin is called 2017-06-23 11:56:24 -04:00
releasenotes Verify https connections by default 2017-06-14 16:07:56 -07:00
tests Verify https connections by default 2017-06-14 16:07:56 -07:00
.coveragerc Add Cinder block pool metrics (#25) 2017-03-19 15:31:46 -05:00
.gitignore More complete testing of the os plugins/utils (#24) 2017-03-14 11:34:10 -05:00
.gitreview Implement OpenStack gate for monitorstack 2017-03-24 11:55:09 -05:00
.travis.yml Add Python 3.5 for Travis tests (#9) 2017-03-09 10:46:31 -06:00
LICENSE Initial commit 2017-02-21 11:05:42 -05:00
README.rst Update README 2017-04-19 13:37:41 +00:00
codecov.yml Added VM instances used and quotas (#6) 2017-03-09 09:48:17 -06:00
requirements.txt Add memcache plugin 2017-04-27 07:35:51 -05:00
setup.cfg Remove support for py34 2017-06-08 03:09:39 +00:00
setup.py Add PEP257 checks (#15) 2017-03-09 15:48:18 -06:00
test-requirements.txt Fix requirements to unblock gate 2017-04-19 08:36:58 -05:00
tox.ini Require 99% test coverage or higher 2017-06-14 14:08:59 -05:00

README.rst

monitorstack text

Status:
Travis-CI Build Status Coverage Status

The monitorstack project provides a framework for writing monitoring plugins that output data in various formats for different monitoring systems. Developers can quickly add new monitoring plugins (along with tests) without worrying about how to format the data.

For more details, including how to install/configure, a usage guide, and a developer guide, review the monitorstack documentation.

Requirements

Python 2.7 or higher is required for monitorstack.

Each commit is tested against Python 2.7, 3.3, 3.4, 3.5, and pypy.

License

Apache 2.0

Community

The monitorstack project is managed by the OpenStack-Ansible community, but it can be used with or without OpenStack-Ansible.

Contact information:

  • #openstack-ansible on Freenode IRC
  • Launchpad Bugs
  • Send email to openstack-dev@lists.openstack.org with [openstack-ansible][monitorstack] in the subject line.