Commit Graph

194 Commits

Author SHA1 Message Date
Martin Mágr f68777dbe5 Retire this project
Change-Id: I029ade3530639afcc480b0c5a6f1bdc7e5711528
2016-06-06 14:51:26 +02:00
gordon chung a156c2367e ceilometerclient >= 1.0.12 requires an authplugin
ceilometerclient since 1.0.12 incorrectly requires AuthPlugin value
when using get_base_parser.

this patch is a workaround for bug #1434264

Change-Id: I5dc3d3ee72b4746d19168627b7169d8bc0ec15c4
2015-03-19 16:28:25 -04:00
Emilien Macchi 13c242a029 setup.cfg: fix ceilometer-api
Fix a typo to install ceilometer-api check.

Change-Id: I5a1ba851e5bcb874e3203a38bb4b9751b680c89c
2015-02-19 09:18:30 -05:00
Jenkins e184f0936a Merge "setup.cfg: fix a typo for nova_api check" 2014-11-12 15:15:41 +00:00
Emilien Macchi 8d0fda0578 setup.cfg: fix a typo for nova_api check
Change-Id: I95bc4f2a97cf5add92550125681936a47c21e5f5
2014-11-12 15:56:49 +01:00
Emilien Macchi ca9a7cda3e fix TypeError: module object is not callable
Same issue from last commit fbbc5c4c2c
but for Neutron script.

Change-Id: I71d1cc24df0f66f834a4b29569b10a9710ea0422
2014-11-12 15:49:19 +01:00
Nicolas Hicher fbbc5c4c2c fix TypeError: module object is not callable
TypeError when running /usr/bin/oschecks-check_cinder_api

Traceback (most recent call last):
  File "/usr/bin/oschecks-check_cinder_api", line 6, in <module>
    from oschecks.cinder import check_cinder_api
  File "/usr/lib/python2.7/site-packages/oschecks/cinder.py", line 66, in <module>
    class Novautils(object):
  File "/usr/lib/python2.7/site-packages/oschecks/cinder.py", line 81, in Novautils
    def totimestamp(dt=None, epoch=datetime(1970, 1, 1)):
TypeError: 'module' object is not callable

Change-Id: I04f9d3db5132335ad413b2f97d5b1b75752ff105
2014-11-06 09:57:44 -05:00
Emilien Macchi cc4df85845 Prepare first commit
This patch aims to prepare the contributions on this repository:

* Fix PEP8 errors
* Add .gitreview file
* fix build_sphinx
* test py26

Change-Id: I4499297c94ad2a853e322753a7ee975f0f673472
2014-10-28 18:15:51 +01:00
Julien Danjou 0498c34c76 Rename to monitoring-for-openstack
Signed-off-by: Julien Danjou <julien@danjou.info>
2014-10-15 15:50:12 -04:00
Mehdi ABAAKOUK 24e48facf8 Merge pull request #60 from enovance/check_process_only
utils: add check_process_exists method
2014-10-15 16:30:46 +02:00
Emilien Macchi d8e4dff88c utils: add check_process_exists method
Sometimes, some services need to be monitored only by checking if the
process is running well or not.
This patch add a new method for this and process.py to use this method.

The use case is for example Ceilometer Compute Agent where we currently
just need to validate the service is running as a process.
2014-10-10 14:39:21 -04:00
Mehdi Abaakouk 643ef2dd18 Fix nova instance creation 2014-10-06 12:33:26 +02:00
Julien Danjou fdb0a1b940 Fix Python 3 compatibility
This fixes py34 tox target.
2014-09-30 16:44:15 +02:00
Mehdi Abaakouk 6140d2373d Fix swift_dispersion check 2014-09-30 12:45:22 +02:00
Mehdi Abaakouk b299ce3968 swfit: No hosts returned valid data is OK for swift-recon --async 2014-09-30 12:12:47 +02:00
Mehdi Abaakouk 3e6220165d pacemaker: Pass script options to execvp 2014-09-29 17:06:41 +02:00
Mehdi Abaakouk f66d1ef40c Install legacy scripts with setuptools 2014-09-29 17:02:01 +02:00
Mehdi Abaakouk 667fe4ae23 Cleanup all scripts 2014-09-29 15:52:17 +02:00
Mehdi Abaakouk 32356f36be Move pacemaker script to the new layout 2014-09-29 15:49:04 +02:00
Mehdi ABAAKOUK 2e910e3460 Merge pull request #59 from jd/jd/pythonize
Transform the repository to a valid Python package
2014-09-29 15:37:18 +02:00
Julien Danjou 0c1951b636 Transform the repository to a valid Python package 2014-09-26 17:03:43 +02:00
Mehdi ABAAKOUK 88c5eafcbf Merge pull request #58 from sileht/sileht/pacemakerwrapper
Add peacemaker wrapper for agent unloadbalancable
2014-09-26 11:22:05 +02:00
Mehdi Abaakouk 6ebab17797 Fix process name detection
Do exacts match for the binary/script when we do
process dectection to avoid matching:

  python check_amqp_ceilometer-agent-central.py

when we want catch:

 python ceilometer-agent-central
2014-09-23 17:58:55 +02:00
Mehdi Abaakouk ac01f93c7e Add pacemaker wrapper
This is a wrapper to ensure a check script is started only if a
pacemaker resource run on the checked host.

example:

  pacemaker_host_check.py -r ceilometer-agent-central
      -s ../ceilometer/check_amqp_ceilometer-agent-central.py
2014-09-23 17:58:55 +02:00
Mehdi ABAAKOUK b69305151a Merge pull request #56 from sileht/sileht/nova-fix
nova: allow to configure insecure and network
2014-09-23 11:00:21 +02:00
joel d4a97fbf8f nova: allow to configure insecure and network 2014-09-23 10:57:05 +02:00
Mehdi ABAAKOUK 13070423f0 Merge pull request #55 from sileht/sileht/fix-space
Fix pep8
2014-09-23 10:55:59 +02:00
Mehdi Abaakouk 7fa492b309 Fix pep8 2014-09-23 10:54:28 +02:00
Emilien Macchi 8d6bca7e8b Merge pull request #50 from enovance/fix-ceph-unit-test
scripts/ceph/test_ceph_health.py: fix unit test
2014-09-19 20:01:09 -04:00
Emilien Macchi 86a68575cf Merge pull request #53 from enovance/fix-amqp-checks
oschecks/utils.py: fix amqp check
2014-09-19 20:00:54 -04:00
Emilien Macchi 7469c996ab Merge pull request #54 from enovance/fix-horizon-check
horizon/check_horizon_login.sh: check the OpenStack string to support RHEL horizon too
2014-09-19 20:00:37 -04:00
Emilien Macchi 07ef6cd62f Merge pull request #52 from enovance/fix-neutron-server
neutron/check_amqp_neutron_server.py -> neutron/check_amqp_neutron-server.py
2014-09-19 20:00:12 -04:00
Frederic Lepied bcc1f842d5 horizon/check_horizon_login.sh: check the OpenStack string to support RHEL horizon too 2014-09-19 23:28:45 +02:00
Frederic Lepied 7667272059 oschecks/utils.py:
- fix amqp check if the command name is truncated
  - fix amqp check if the process is listening on a port
2014-09-19 23:25:31 +02:00
Frederic Lepied a2105cc5f2 neutron/check_amqp_neutron_server.py -> neutron/check_amqp_neutron-server.py 2014-09-19 23:20:18 +02:00
Emilien Macchi b5f888e8d4 Merge pull request #51 from enovance/fix-amqp-nonexec
scripts/oschecks/amqp.py: make it executable to allow symlinked scripts ...
2014-09-18 08:08:28 -04:00
Frederic Lepied 5270f736fa scripts/oschecks/amqp.py: make it executable to allow symlinked scripts to work 2014-09-18 12:05:53 +02:00
Frederic Lepied 74e51927cf scripts/ceph/test_ceph_health.py: fix unit test 2014-09-18 11:48:57 +02:00
Emilien Macchi 2b9c39c4de Merge pull request #48 from sileht/sileht/python
Ensures a api requests is done for glance-image-exists
2014-09-17 19:58:53 -04:00
Mehdi Abaakouk 2f7f97a7ea Ensures a api requests is done for glance-image-exists
Closes-bug: #47
2014-09-17 09:37:09 +02:00
Emilien Macchi 3ec22e4cf8 Merge pull request #46 from sileht/sileht/python
Use python client binding for openstack script
2014-09-12 11:13:34 -04:00
Mehdi Abaakouk b2133c8d70 Convert ceph checks in python 2014-09-10 13:11:26 +02:00
Mehdi Abaakouk 56e61aefb5 Convert ceilometer checks in python 2014-09-10 13:11:26 +02:00
Mehdi Abaakouk 8d8814633f Convert heat checks in python 2014-09-10 13:11:26 +02:00
Mehdi Abaakouk de102596c9 Convert glance checks in python 2014-09-10 13:11:26 +02:00
Mehdi Abaakouk 6c53a8fbeb Convert keystone checks in python 2014-09-10 13:11:26 +02:00
Mehdi Abaakouk 38e24b36ff Convert neutron checks in python 2014-09-10 13:11:26 +02:00
Mehdi Abaakouk 3879071acb Convert cinder checks in python 2014-09-10 13:07:52 +02:00
Mehdi Abaakouk f940d59230 Convert nova check in python 2014-09-10 13:07:51 +02:00
Mehdi Abaakouk c2f76b063f Add python helpers 2014-09-10 13:07:51 +02:00