Fix typo in docs/notitier-aodh-plugin

Change-Id: Id4e85d3d708a20f88c7fd1adc412871389bc330e
This commit is contained in:
Yujun Zhang 2016-08-22 14:34:47 +08:00
parent 962853469e
commit fed08e1f2b

View File

@ -39,7 +39,7 @@ The VitrageNotifier is a new service that listens to the bus for internal vitrag
1. Deduced Alarm created by the Evaluator
2. Graph vertex added/updated
3. DeducedAlarmNotifier write to message bus
3. DeducedAlarmNotifier writes to message bus
4. VitrageNotifierService receives the event and calls all plugins
5. Aodh plugin - using the ceilometer client, creates an event in aodh (with some metadata params in the query)
@ -49,13 +49,13 @@ Deduced Alarms bus notifications
Vitrage Evaluator will create a deduced alarm, sending it to the data source queue
Vitrage Evaluator will use the **vitrage.graph** message bus topic, and will post messages as follows:
- message of type **vitrage.deduce_alarm.activate** :
- message of type **vitrage.deduced_alarm.activate** :
* name - is the alarm name in vitrage
* severity - is the alarm severity
* affected_resource_id - is the openstack id of the resource on which the alarm was raised
- **vitrage.deduce_alarm.deactivate**
- **vitrage.deduced_alarm.deactivate**
* id - is the alarm id
@ -69,9 +69,9 @@ Notifier
Aodh Plugin
===========
Vitrage alarms should be reflected as possible in Aodh. the aodh plugin has ceilometer client by which it can send rest calls to aodh
Vitrage alarms should be reflected as possible in Aodh. The aodh plugin has ceilometer client by which it can send rest calls to aodh
Handle vitrage.deduce_alarm.activate:
Handle vitrage.deduced_alarm.activate:
-------------------------------------
Create an event alarm with the specified severity, where the alarm name is vitrage_alarm_name+resource_id so to be unique
@ -86,11 +86,8 @@ Create an event alarm with the specified severity, where the alarm name is vitra
* plugin will **update** the aodh alarm status to alarm
Handle vitrage.deduce_alarm.deactivate:
Handle vitrage.deduced_alarm.deactivate:
---------------------------------------
delete an event alarm with the specified id
* message will contain the aodh alarm id - plugin will **update** the alarm status to ok
* name - is the alarm name in vitrage
* severity - is the alarm severity
* affected_resource_id - is the openstack id of the resource on which the alarm was raised