From fed08e1f2b1901cfa67c9a248a28d0e5a8ab32ca Mon Sep 17 00:00:00 2001 From: Yujun Zhang Date: Mon, 22 Aug 2016 14:34:47 +0800 Subject: [PATCH] Fix typo in `docs/notitier-aodh-plugin` Change-Id: Id4e85d3d708a20f88c7fd1adc412871389bc330e --- doc/source/notifier-aodh-plugin.rst | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/doc/source/notifier-aodh-plugin.rst b/doc/source/notifier-aodh-plugin.rst index 5d905651b..513839e7d 100644 --- a/doc/source/notifier-aodh-plugin.rst +++ b/doc/source/notifier-aodh-plugin.rst @@ -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