Hamid Lotfi 1f62741b17 If any of the consul agents such as manage, tenant, or warehouse are not set.
This exception is raised:
Exception when host-monitored by console: Object 'NoneType' has no attribute 'get_health': AttributeError: Object 'NoneType' has no attribute 'get_health'.

Now to handle this exception, we just need to check the condition whether the name exists in 'agents.name'.

Change-Id: I00ca3271f52eb4de770dbd719a57b2d15c138833
2025-02-14 07:32:15 +00:00
2022-05-12 16:10:08 +02:00
2016-11-01 13:46:13 +09:00
2021-08-17 09:37:02 +00:00
2019-04-19 19:49:18 +00:00
2016-11-01 13:46:13 +09:00
2019-06-19 03:54:45 +00:00
2021-08-17 18:22:06 +00:00
2021-08-18 09:03:23 +00:00
2016-11-01 13:46:13 +09:00
2016-11-01 13:46:13 +09:00
2020-04-17 21:48: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
Description
Monitoring and notification tools for Masakari
Readme 4.1 MiB
Languages
Python 100%