diff options
author | Shobhi <shobhi.jain@intel.com> | 2017-07-21 11:58:17 +0100 |
---|---|---|
committer | Maryam Tahhan <maryam.tahhan@intel.com> | 2017-07-26 13:08:01 +0000 |
commit | 7331c926e6f3fdf9d2ad7310be1911c440f6b962 (patch) | |
tree | 249e9a9f1746a5759fd4cf92207663a5eef5f9f2 | |
parent | abdb29bfef79c29b2196813cea7b27ed4780bc49 (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>
-rw-r--r-- | src/collectd/collectd_sample_configs/virt.conf | 30 | ||||
-rwxr-xr-x | systems/centos/7/build_base_machine.sh | 1 | ||||
-rwxr-xr-x | systems/fedora/22/build_base_machine.sh | 1 | ||||
-rwxr-xr-x | systems/rhel/7/build_base_machine.sh | 1 | ||||
-rwxr-xr-x | systems/ubuntu/14.04/build_base_machine.sh | 1 | ||||
-rwxr-xr-x | systems/ubuntu/16.04/build_base_machine.sh | 1 |
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 \ |