docs: update ovs stats instructions. 93/26293/4
authorMytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
Tue, 20 Dec 2016 09:46:24 +0000 (09:46 +0000)
committerMaryam Tahhan <maryam.tahhan@intel.com>
Fri, 3 Feb 2017 13:12:21 +0000 (13:12 +0000)
Change-Id: I9f1edb0d344d88b211d209e6b1a06e11fcf28f7f
Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
docs/userguide/collectd.userguide.rst

index fc27058..42fe308 100644 (file)
@@ -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
 
     <LoadPlugin ovs_events>
-      Interval 1
+       Interval 1
     </LoadPlugin>
     <Plugin "ovs_events">
        Port 6640
@@ -567,6 +565,21 @@ include:
        SendNotification false
     </Plugin>
 
+To configure the OVS stats plugin you need to modify the configuration file
+to include:
+
+.. code:: bash
+
+    <LoadPlugin ovs_stats>
+       Interval 1
+    </LoadPlugin>
+    <Plugin ovs_stats>
+       Port "6640"
+       Address "127.0.0.1"
+       Socket "/var/run/openvswitch/db.sock"
+       Bridges "br0" "br_ext"
+    </Plugin>
+
 For more information on the plugin parameters, please see:
 https://github.com/collectd/collectd/blob/master/src/collectd.conf.pod
 and