From 51426362404b2b94bc7179e8941ecad088ffc6ea Mon Sep 17 00:00:00 2001 From: dongwenjuan Date: Wed, 7 Sep 2016 16:23:48 +0800 Subject: [PATCH] fix some syntax error Change-Id: Ic6902b9706786ad5f7137d9ba8652186b917f56a Signed-off-by: dongwenjuan --- doc/source/add-new-datasource.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/source/add-new-datasource.rst b/doc/source/add-new-datasource.rst index d1fe4b187..5f175e5e8 100644 --- a/doc/source/add-new-datasource.rst +++ b/doc/source/add-new-datasource.rst @@ -11,7 +11,7 @@ In order to add a new datasource to Vitrage do the following steps: put it under 'vitrage.datasources', For example: vitrage.datasource.cinder.volume. 2. Under your datasource package, have both your datasources' driver class - your datasources' transformer class. See below for details on those + and your datasources' transformer class. See below for details on those classes. 3. Under your datasources' package __init__.py you must import cfg from oslo_config and declare a list named OPTS. Under OPTS, you can define @@ -34,8 +34,8 @@ In order to add a new datasource to Vitrage do the following steps: a. add the datasource name to the types property in the "devstack.settings" file. - b. if the datasource is not is not one of the main and basic projects of - devstack, add the following data in the "devstack.plugin.sh" file": + b. if the datasource is not one of the main and basic projects of devstack, + add the following data in the "devstack.plugin.sh" file": # remove vitrage datasource if datasource not installed @@ -205,7 +205,7 @@ or by configuring vitrage.conf. # Names of supported plugins (list value) - types = nova.host,nova.instance,nova.zone,static_physical,aodh,cinder.volume,neutron.network,neutron.port,heat.stack + types = nova.host,nova.instance,nova.zone,static_physical,nagios,aodh,cinder.volume,neutron.network,neutron.port,heat.stack [zabbix]