Monitoring and notification tools for Masakari
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Andreas Jaeger 8fe6937f9c Use template for lower-constraints 5 months ago
doc Switch from oslosphinx to openstackdocstheme 1 month ago
etc/masakarimonitors Remove an extra word in process_list.yaml.sample 1 year ago
masakarimonitors Removed unnecessary parantheses in yield statements 5 months ago
releasenotes Switch from oslosphinx to openstackdocstheme 1 month ago
.coveragerc Initial Cookiecutter Commit. 2 years ago
.gitignore Add line for PyCharm IDE in gitignore file 5 months ago
.gitreview OpenDev Migration Patch 1 month ago
.mailmap Initial Cookiecutter Commit. 2 years ago
.testr.conf Initial Cookiecutter Commit. 2 years ago
.zuul.yaml Use template for lower-constraints 2 weeks ago
CONTRIBUTING.rst Initial Cookiecutter Commit. 2 years ago
HACKING.rst Removed unnecessary parantheses in yield statements 5 months ago
LICENSE Initial Cookiecutter Commit. 2 years ago
MANIFEST.in Initial Cookiecutter Commit. 2 years ago
README.rst Fix syntax errors of README.rst 2 years ago
babel.cfg Initial Cookiecutter Commit. 2 years ago
lower-constraints.txt Remove python-openstackclient from global-requirements 9 months ago
requirements.txt Remove python-openstackclient from global-requirements 9 months ago
setup.cfg Dropping the py35 testing 1 month ago
setup.py Updated from global requirements 1 year ago
test-requirements.txt Updated from global requirements 1 year ago
tox.ini Dropping the py35 testing 1 month ago

README.rst

masakari-monitors

Monitors for Masakari

Monitors for Masakari provides Virtual Machine High Availability (VMHA) service for OpenStack clouds by automatically detecting the failure events such as VM process down, provisioning process down, and nova-compute host failure. If it detect the events, it sends notifications to the masakari-api.

Original version of Masakari: https://github.com/ntt-sic/masakari

Tokyo Summit Session: https://www.youtube.com/watch?v=BmjNKceW_9A

Monitors for Masakari is distributed under the terms of the Apache License, Version 2.0. The full terms and conditions of this license are detailed in the LICENSE file.

Configure masakari-monitors

  1. Clone masakari using:

    $ git clone https://github.com/openstack/masakari-monitors.git
  2. Create masakarimonitors directory in /etc/.
  3. Run setup.py from masakari-monitors:

    $ sudo python setup.py install
  4. Copy masakarimonitors.conf and process_list.yaml files from masakari-monitors/etc/ to /etc/masakarimonitors folder and make necessary changes to the masakarimonitors.conf and process_list.yaml files. To generate the sample masakarimonitors.conf file, run the following command from the top level of the masakari-monitors directory:

    $ tox -egenconfig
  5. To run masakari-processmonitor, masakari-hostmonitor and masakari-instancemonitor simply use following binary:

    $ masakari-processmonitor
    $ masakari-hostmonitor
    $ masakari-instancemonitor

If you are intend to use bash scripts of masakari-processmonitor and masakari-hostmonitor, use following steps to install them. However, those bash shell scripts are deprecated as of the Ocata release and will be removed in the Queens release. Use above masakari-hostmonitors implemented in python instead.

  1. Clone masakari using:

    $ git clone https://github.com/openstack/masakari-monitors.git
  2. Create masakarimonitors directory in /etc/.
  3. Remove '.sample' from files hostmonitor.conf.sample, processmonitor.conf.sample and proc.list.sample which exist at masakari-monitors/etc/.
  4. Copy hostmonitor.conf, processmonitor.conf and proc.list files from masakari-monitors/etc/ to /etc/masakarimonitors folder and make necessary changes to the hostmonitor.conf, processmonitor.conf and proc.list files.
  5. To run bash scripts of masakari-processmonitor and masakari-hostmonitor simply use following binary:

    $ masakari-processmonitor.sh /etc/masakarimonitors/processmonitor.conf /etc/masakarimonitors/proc.list
    $ masakari-hostmonitor.sh /etc/masakarimonitors/hostmonitor.conf

Features

  • TODO