summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShobhi <shobhi.jain@intel.com>2017-07-26 10:11:26 +0100
committerMaryam Tahhan <maryam.tahhan@intel.com>2017-07-26 13:01:36 +0000
commitabdb29bfef79c29b2196813cea7b27ed4780bc49 (patch)
tree6556e35fe133834f5af0e257a3a9fdabfcfccdca
parent9514d3ad16bc9b00fe63573899b7059651fcaf98 (diff)
src: add ovs stats configuration file
Change-Id: Ibbfea8f70d223d0e1cd10f63dbf24b95c6e713bf Signed-off-by: Shobhi <shobhi.jain@intel.com>
-rw-r--r--src/collectd/collectd_sample_configs/ovs_stats.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/collectd/collectd_sample_configs/ovs_stats.conf b/src/collectd/collectd_sample_configs/ovs_stats.conf
new file mode 100644
index 00000000..ce06cb51
--- /dev/null
+++ b/src/collectd/collectd_sample_configs/ovs_stats.conf
@@ -0,0 +1,24 @@
+# Copyright 2017 OPNFV
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License
+
+<LoadPlugin ovs_stats>
+ Interval 1
+</LoadPlugin>
+<Plugin "ovs_stats">
+# Port "6640"
+# Address "127.0.0.1"
+# Socket "/var/run/openvswitch/db.sock"
+# Bridges "br0"
+</Plugin>
+