summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorShobhi <shobhi.jain@intel.com>2017-07-21 11:58:17 +0100
committerMaryam Tahhan <maryam.tahhan@intel.com>2017-07-26 13:08:01 +0000
commit7331c926e6f3fdf9d2ad7310be1911c440f6b962 (patch)
tree249e9a9f1746a5759fd4cf92207663a5eef5f9f2 /src
parentabdb29bfef79c29b2196813cea7b27ed4780bc49 (diff)
src: add virt plugin configuration
* adds sample configuration file for virt plugin. * updates package list for libvirt package. Change-Id: I564fd89f7eaaa170962f5d05bbe26424ab99f6e2 Signed-off-by: Shobhi <shobhi.jain@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/collectd/collectd_sample_configs/virt.conf30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/collectd/collectd_sample_configs/virt.conf b/src/collectd/collectd_sample_configs/virt.conf
new file mode 100644
index 00000000..88229e3c
--- /dev/null
+++ b/src/collectd/collectd_sample_configs/virt.conf
@@ -0,0 +1,30 @@
+# 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 virt
+<Plugin virt>
+# Connection "xen:///"
+ RefreshInterval 60
+# Domain "name"
+# BlockDevice "name:device"
+# BlockDeviceFormat target
+# BlockDeviceFormatBasename false
+# InterfaceDevice "name:device"
+# IgnoreSelected false
+# HostnameFormat name
+# InterfaceFormat name
+# PluginInstanceFormat name
+# Instances 1
+ ExtraStats "cpu_util disk disk_err domain_state fs_info job_stats_background pcpu perf vcpupin"
+</Plugin>