Monitoring and notification tools for Masakari
Go to file
Sean McGinnis 92c934a8e3
Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: Ie5ee60235bafc1e7b3461dee29b83fb62125178e
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-18 11:54:18 -05:00
doc Switch from oslosphinx to openstackdocstheme 2019-04-10 07:41:26 -05:00
etc/masakarimonitors Remove an extra word in process_list.yaml.sample 2017-07-31 15:58:59 +09:00
masakarimonitors Use unittest.mock instead of third party mock 2020-04-18 11:54:18 -05:00
releasenotes Merge "Use hostname to avoid clash with section" 2020-03-31 08:02:26 +00:00
.coveragerc Initial Cookiecutter Commit. 2016-11-01 13:46:13 +09:00
.gitignore Add line for PyCharm IDE in gitignore file 2018-12-10 06:16:29 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:49:18 +00:00
.mailmap Initial Cookiecutter Commit. 2016-11-01 13:46:13 +09:00
.stestr.conf Switch to using stestr 2019-06-19 03:54:45 +00:00
.zuul.yaml [ussuri][goal] Drop python 2.7 support and testing 2020-01-23 17:29:04 +00:00
babel.cfg Initial Cookiecutter Commit. 2016-11-01 13:46:13 +09:00
bindep.txt add libvirt-python for libvirt package 2019-08-26 21:48:57 +05:30
CONTRIBUTING.rst Initial Cookiecutter Commit. 2016-11-01 13:46:13 +09:00
HACKING.rst Removed unnecessary parantheses in yield statements 2018-12-10 06:16:18 +00:00
LICENSE Initial Cookiecutter Commit. 2016-11-01 13:46:13 +09:00
lower-constraints.txt Update hacking for Python3 2020-04-01 21:07:40 +02:00
MANIFEST.in Initial Cookiecutter Commit. 2016-11-01 13:46:13 +09:00
README.rst Update and replace http with https for doc links 2020-04-02 00:28:48 +00:00
requirements.txt Remove python-openstackclient from global-requirements 2018-08-08 08:41:36 +00:00
setup.cfg [ussuri][goal] Drop python 2.7 support and testing 2020-01-23 17:29:04 +00:00
setup.py Updated from global requirements 2017-08-11 11:52:33 +00:00
test-requirements.txt Update hacking for Python3 2020-04-01 21:07:40 +02:00
tox.ini Update hacking for Python3 2020-04-01 21:07:40 +02:00

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

Features

  • TODO