Monitoring and notification tools for Masakari
Go to file
Jenkins fff47b7105 Merge "Skip notification retry processing when HTTP status is 409" 2017-02-16 08:28:03 +00:00
doc/source Initial Cookiecutter Commit. 2016-11-01 13:46:13 +09:00
etc/masakarimonitors Loading the process list written in YAML 2017-02-06 19:34:58 +09:00
masakarimonitors Merge "Skip notification retry processing when HTTP status is 409" 2017-02-16 08:28:03 +00:00
releasenotes Add warning messages about deprecation to process/host monitor 2017-02-15 11:16:01 +00:00
.coveragerc Initial Cookiecutter Commit. 2016-11-01 13:46:13 +09:00
.gitignore Initial Cookiecutter Commit. 2016-11-01 13:46:13 +09:00
.gitreview Added .gitreview 2016-10-17 07:59:04 +00:00
.mailmap Initial Cookiecutter Commit. 2016-11-01 13:46:13 +09:00
.testr.conf Initial Cookiecutter Commit. 2016-11-01 13:46:13 +09:00
CONTRIBUTING.rst Initial Cookiecutter Commit. 2016-11-01 13:46:13 +09:00
HACKING.rst Add hacking check to ensure _ is imported 2017-02-14 18:38:08 +05:30
LICENSE Initial Cookiecutter Commit. 2016-11-01 13:46:13 +09:00
MANIFEST.in Initial Cookiecutter Commit. 2016-11-01 13:46:13 +09:00
README.rst Add README.rst 2017-02-16 10:50:22 +09:00
babel.cfg Initial Cookiecutter Commit. 2016-11-01 13:46:13 +09:00
requirements.txt Add initial start of processes 2017-02-06 10:45:32 +00:00
setup.cfg Add implement of loading hostmonitor driver 2017-02-06 11:00:07 +00:00
setup.py Update to match latest global-requirements 2017-01-19 14:39:56 +05:30
test-requirements.txt Initial Cookiecutter Commit. 2016-11-01 13:46:13 +09:00
tox.ini Add hacking check to ensure _ is imported 2017-02-14 18:38:08 +05:30

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.
command::

$ git clone https://github.com/openstack/masakari-monitors.git

  1. Create masakarimonitors directory in /etc/.
  2. Run setup.py from masakari-monitors.
command::

$ sudo python setup.py install

#. 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:

command::

$ tox -egenconfig

#. To run masakari-processmonitor, masakari-hostmonitor and masakari-instancemonitor simply use following binary:

command::

$ 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.
command::

$ git clone https://github.com/openstack/masakari-monitors.git

  1. Create masakarimonitors directory in /etc/.

#. Remove '.sample' from files hostmonitor.conf.sample, processmonitor.conf.sample and proc.list.sample which exist at masakari-monitors/etc/.

#. 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.

#. To run bash scripts of masakari-processmonitor and masakari-hostmonitor simply use following binary:

command::

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

Features

  • TODO