Minor documentation fixes

Change-Id: I99d20102bb33a2f5b26d06ef24d80e890393211c
This commit is contained in:
Vitaliy Kharechko 2016-06-30 09:54:15 +03:00
parent 0fc5e69adf
commit 45a05ad71d

View File

@ -64,6 +64,9 @@ Two example publishers are provided:
* monascapublisher: targets the OpenStack Monasca Python metric publishing API * monascapublisher: targets the OpenStack Monasca Python metric publishing API
* logpublisher: appends data to a configured text file * logpublisher: appends data to a configured text file
For a complete list of publishers, look in the broadview_collector/plugins
directory.
To use a publisher, it must be added to the comma-separated list of publishers To use a publisher, it must be added to the comma-separated list of publishers
listed in /etc/broadviewcollector.conf, and the collector must be restarted. listed in /etc/broadviewcollector.conf, and the collector must be restarted.
@ -129,32 +132,32 @@ products that they support, contact your supplier for more details.
2. Install broadview-lib: 2. Install broadview-lib:
$ git clone https://github.com/openstack/broadview-lib.git $ git clone https://github.com/openstack/broadview-lib.git
$ cd broadview-lib $ cd broadview-lib
$ python setup.py install $ python setup.py install
3. Install broadview-collector 3. Install broadview-collector
$ git clone https://github.com/openstack/broadview-collector.git $ git clone https://github.com/openstack/broadview-collector.git
$ cd broadview-collector $ cd broadview-collector
$ python setup.py install $ python setup.py install
4. Copy the file broadview_collector/config/broadviewcollector.conf to /etc 4. Copy the file broadview_collector/config/broadviewcollector.conf to /etc
$ sudo cp broadview_collector/config/broadviewcollector.conf /etc $ sudo cp broadview_collector/config/broadviewcollector.conf /etc
5. Edit /etc/broadviewcollector.conf as needed 5. Edit /etc/broadviewcollector.conf as needed
$ sudo vi /etc/broadviewcollector.conf $ sudo vi /etc/broadviewcollector.conf
6. Copy broadview collector application to /usr/local/bin: 6. Copy broadview collector application to /usr/local/bin:
$ sudo cp broadview_collector/bin/bvcollect.py /usr/local/bin $ sudo cp broadview_collector/bin/bvcollect.py /usr/local/bin
$ sudo chmod 755 /usr/local/bin/bvcollect.py $ sudo chmod 755 /usr/local/bin/bvcollect.py
7. Start the collector (assuming /usr/local/bin is in your PATH): 7. Start the collector (assuming /usr/local/bin is in your PATH):
$ bvcollect.py & $ bvcollect.py &
In addition, you must configure the broadview agent. This involves two In addition, you must configure the broadview agent. This involves two
steps: editing the device configuration so that the agent knows the IP steps: editing the device configuration so that the agent knows the IP
@ -165,13 +168,13 @@ To configure the agent, refer to instructions provided by your vendor.
The IP address and port of the collector is in the [network] section of The IP address and port of the collector is in the [network] section of
/etc/broadviewcollector.conf, for example: /etc/broadviewcollector.conf, for example:
[network] [network]
ip_address: 10.14.244.143 ip_address: 10.14.244.143
port: 8082 port: 8082
Once the agent is up and running on the networking device, you can use Once the agent is up and running on the networking device, you can use
bv-bstclt (included in broadview-lib) to configure BST. bv-bstctl.py (included in broadview-lib) to configure BST.
## Detailed Installation: Monasca API ## Detailed Installation: Monasca API