aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/collectd/collectd_sample_configs/virt.conf30
-rwxr-xr-xsystems/centos/7/build_base_machine.sh1
-rwxr-xr-xsystems/fedora/22/build_base_machine.sh1
-rwxr-xr-xsystems/rhel/7/build_base_machine.sh1
-rwxr-xr-xsystems/ubuntu/14.04/build_base_machine.sh1
-rwxr-xr-xsystems/ubuntu/16.04/build_base_machine.sh1
6 files changed, 35 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>
diff --git a/systems/centos/7/build_base_machine.sh b/systems/centos/7/build_base_machine.sh
index 0e56c770..9c49d493 100755
--- a/systems/centos/7/build_base_machine.sh
+++ b/systems/centos/7/build_base_machine.sh
@@ -50,6 +50,7 @@ iptables-devel
libmemcached-devel
gtk2-devel
libvirt-devel
+libvirt-daemon
mcelog
wget
net-snmp-devel
diff --git a/systems/fedora/22/build_base_machine.sh b/systems/fedora/22/build_base_machine.sh
index be225117..5662eb41 100755
--- a/systems/fedora/22/build_base_machine.sh
+++ b/systems/fedora/22/build_base_machine.sh
@@ -42,6 +42,7 @@ autoconf
libtool
libpcap-devel
libnet
+libvirt-daemon
vim
wget
git
diff --git a/systems/rhel/7/build_base_machine.sh b/systems/rhel/7/build_base_machine.sh
index c5191f73..85382ae3 100755
--- a/systems/rhel/7/build_base_machine.sh
+++ b/systems/rhel/7/build_base_machine.sh
@@ -50,6 +50,7 @@ iptables-devel
libmemcached-devel
gtk2-devel
libvirt-devel
+libvirt-daemon
mcelog
wget
net-snmp-devel
diff --git a/systems/ubuntu/14.04/build_base_machine.sh b/systems/ubuntu/14.04/build_base_machine.sh
index 0dc21d9a..4f62f302 100755
--- a/systems/ubuntu/14.04/build_base_machine.sh
+++ b/systems/ubuntu/14.04/build_base_machine.sh
@@ -66,6 +66,7 @@ apt-get -y install \
libupsclient-dev \
libvarnishapi-dev \
libvirt-dev \
+ libvirt-daemon \
libxen-dev \
libxml2-dev \
libyajl-dev \
diff --git a/systems/ubuntu/16.04/build_base_machine.sh b/systems/ubuntu/16.04/build_base_machine.sh
index ba64ad45..7ea42404 100755
--- a/systems/ubuntu/16.04/build_base_machine.sh
+++ b/systems/ubuntu/16.04/build_base_machine.sh
@@ -66,6 +66,7 @@ apt-get -y install \
libupsclient-dev \
libvarnishapi-dev \
libvirt-dev \
+ libvirt-daemon \
libxen-dev \
libxml2-dev \
libyajl-dev \