Files
vitrage/doc/source/contributor/nova-notifier.rst
Q.hongtao b7d3821c7d update notifier to V3
Update nova-notifier,mistral-notifier to Syntax 3 to replace Syntax 2
Change-Id: I74e51ca8ea8913a22cea3b0d6bec2afc80002c98
2020-08-22 11:12:12 +08:00

44 lines
1.1 KiB
ReStructuredText

=====================
Vitrage Nova Notifier
=====================
Overview
--------
The main purpose of Vitrage is to provide insights about the state of the
system on problems that are not directly monitored. An example of such
a problem is a switch failure that causes a Nova host to become unreachable,
while Nova is not aware of this problem.
The Nova notifier tries to solve this use case, by calling Nova force-down API
to notify Nova that the host is down.
Configuration
-------------
In order to support this use case, the user should perform the following:
1. Activate the nova notifier. In /etc/vitrage/vitrage.conf:
.. code:: yaml
[DEFAULT]
notifiers = nova
2. Determine, in the Vitrage templates, what condition(s) indicates that the
host is down. For example:
.. code:: yaml
scenarios:
- condition: host_down_alarm [on] host
actions:
- mark_down:
target: host
For more information about the mark-down action, see the Vitrage templates
documentation: templates_
.. _templates: https://docs.openstack.org/vitrage/latest/contributor/vitrage-templates.html