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:
parent
b915eb3ada
commit
6a8b26939c
@ -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``
|
||||
|
Loading…
x
Reference in New Issue
Block a user