aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>2016-12-20 09:46:24 +0000
committerMaryam Tahhan <maryam.tahhan@intel.com>2017-02-03 13:12:21 +0000
commitbdedab737dde84cf868990f5e206011ceee5e117 (patch)
tree527329ff6e64ff3c141a756cba15ba750864638b /docs
parent52f8fc090de89bf28f85c60647f997070a48f0b5 (diff)
docs: update ovs stats instructions.
Change-Id: I9f1edb0d344d88b211d209e6b1a06e11fcf28f7f Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/userguide/collectd.userguide.rst25
1 files changed, 19 insertions, 6 deletions
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
<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