vitrage/doc/source/contributor/nova-notifier.rst
Idan Hefetz a2ce45c3c6 Document version 3 template format
- Added vitrage-templates.rst and renamed the previous file to v2.
 - Release notes

Change-Id: Ibed548118473902ed4bf7028aad854ebd1cb84bf
Story: 2004871
Task: 29128
2019-02-12 11:59:58 +00:00

1.2 KiB

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:
[DEFAULT]
notifiers = nova
  1. Determine, in the Vitrage templates, what condition(s) indicates that the host is down. For example:
scenarios:
  - scenario:
    condition: host_down_alarm_on_host
      actions:
        action:
          action_type : mark_down
            action_target:
              target: host

For more information about the mark-down action, see the Vitrage templates documentation: templates