aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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