src: add ovs stats configuration file 49/38149/3
authorShobhi <shobhi.jain@intel.com>
Wed, 26 Jul 2017 09:11:26 +0000 (10:11 +0100)
committerMaryam Tahhan <maryam.tahhan@intel.com>
Wed, 26 Jul 2017 13:01:36 +0000 (13:01 +0000)
Change-Id: Ibbfea8f70d223d0e1cd10f63dbf24b95c6e713bf
Signed-off-by: Shobhi <shobhi.jain@intel.com>
src/collectd/collectd_sample_configs/ovs_stats.conf [new file with mode: 0644]

diff --git a/src/collectd/collectd_sample_configs/ovs_stats.conf b/src/collectd/collectd_sample_configs/ovs_stats.conf
new file mode 100644 (file)
index 0000000..ce06cb5
--- /dev/null
@@ -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>
+