Kapacitor doc have some problem, see in:

https://docs.openstack.org/vitrage/latest/contributor/kapacitor-datasource.html

Change-Id: I49ec3c73320a7aa2ae7a5de95ec88305a7b86994
Story: 2005428
Task: 33403
This commit is contained in:
hoa ngo 2019-05-21 07:34:39 +07:00
parent b915eb3ada
commit 6a8b26939c
1 changed files with 3 additions and 5 deletions

View File

@ -8,7 +8,7 @@ https://docs.influxdata.com/kapacitor/v1.5/working/alerts/
Installation
------------
Copy the 'https://github.com/openstack/vitrage/tree/master/vitrage/datasources/kapacitor/auxliary/kapacitor_vitrage.py' script into the Kapacitor servers.
Copy the 'https://raw.githubusercontent.com/openstack/vitrage/master/vitrage/datasources/kapacitor/auxiliary/kapacitor_vitrage.py' script into the Kapacitor servers.
.. code-block:: bash
@ -35,10 +35,9 @@ Configuration
Run command to define topic
.. code-block:: bash
$ kapacitor define-topic-handler ./forward_to_vitrage.yaml
.. code:: bash
$ kapacitor define-topic-handler ./forward_to_vitrage.yaml
2. Assign your Task to topic, in Tick script define that alert, add in "alert()" step:
@ -60,7 +59,6 @@ Run command define your task:
$ kapacitor define <task_name> -tick <tick_script>
Vitrage configuration:
1. Add kapacitor to list of datasources in ``/etc/vitrage/vitrage.conf``