Monitoring and notification tools for Masakari
Go to file
Mark Goddard e23f06f865 Use keystoneauth1 config option loading for masakari client
If a custom CA file is configured via [api] cafile, currently
communication with Keystone will fail, since the session is not created
using this CA file. The [api] insecure option is also ignored.

This change fixes the issue by using keystoneauth loading for the auth
and session, to ensure all standard configuration options are supported.

Change-Id: Idd58b72f7f5242e8135fec71b42adf5dd1852417
Closes-Bug: #1873736
(cherry picked from commit e704045880)
2020-09-17 10:24:11 +00: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 keystoneauth1 config option loading for masakari client 2020-09-17 10:24:11 +00: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 Update .gitreview for stable/ussuri 2020-04-23 15:43:12 +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
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
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
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
lower-constraints.txt Update hacking for Python3 2020-04-01 21:07:40 +02: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 TOX_CONSTRAINTS_FILE for stable/ussuri 2020-04-23 15:43:15 +00:00

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

Features

  • TODO