From: Mytnyk, Volodymyr Date: Tue, 20 Dec 2016 09:46:24 +0000 (+0000) Subject: docs: update ovs stats instructions. X-Git-Tag: danube.1.0~16 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F93%2F26293%2F4;p=barometer.git docs: update ovs stats instructions. Change-Id: I9f1edb0d344d88b211d209e6b1a06e11fcf28f7f Signed-off-by: Mytnyk, Volodymyr --- diff --git a/docs/userguide/collectd.userguide.rst b/docs/userguide/collectd.userguide.rst index fc270588..42fe308d 100644 --- a/docs/userguide/collectd.userguide.rst +++ b/docs/userguide/collectd.userguide.rst @@ -533,7 +533,6 @@ configure the ovsdb-server manager: $ sudo ovs-vsctl set-manager ptcp:6640 - Clone and install the collectd ovs plugin: .. code:: bash @@ -550,15 +549,14 @@ where $REPO is one of the repos listed at the top of this section. Where $BRANCH is master or feat_ovs_stats. -This will install collectd to /opt/collectd -The collectd configuration file can be found at /opt/collectd/etc -To configure the OVS plugins you need to modify the configuration file to -include: +This will install collectd to /opt/collectd. The collectd configuration file +can be found at /opt/collectd/etc. To configure the OVS events plugin you +need to modify the configuration file to include: .. code:: bash - Interval 1 + Interval 1 Port 6640 @@ -567,6 +565,21 @@ include: SendNotification false +To configure the OVS stats plugin you need to modify the configuration file +to include: + +.. code:: bash + + + Interval 1 + + + Port "6640" + Address "127.0.0.1" + Socket "/var/run/openvswitch/db.sock" + Bridges "br0" "br_ext" + + For more information on the plugin parameters, please see: https://github.com/collectd/collectd/blob/master/src/collectd.conf.pod and