From bdedab737dde84cf868990f5e206011ceee5e117 Mon Sep 17 00:00:00 2001 From: "Mytnyk, Volodymyr" Date: Tue, 20 Dec 2016 09:46:24 +0000 Subject: docs: update ovs stats instructions. Change-Id: I9f1edb0d344d88b211d209e6b1a06e11fcf28f7f Signed-off-by: Mytnyk, Volodymyr --- docs/userguide/collectd.userguide.rst | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) (limited to 'docs') 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 -- cgit 1.2.3-korg