From 7331c926e6f3fdf9d2ad7310be1911c440f6b962 Mon Sep 17 00:00:00 2001 From: Shobhi Date: Fri, 21 Jul 2017 11:58:17 +0100 Subject: 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 --- src/collectd/collectd_sample_configs/virt.conf | 30 ++++++++++++++++++++++++++ systems/centos/7/build_base_machine.sh | 1 + systems/fedora/22/build_base_machine.sh | 1 + systems/rhel/7/build_base_machine.sh | 1 + systems/ubuntu/14.04/build_base_machine.sh | 1 + systems/ubuntu/16.04/build_base_machine.sh | 1 + 6 files changed, 35 insertions(+) create mode 100644 src/collectd/collectd_sample_configs/virt.conf 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 + +# 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" + 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 \ -- cgit 1.2.3-korg