summaryrefslogtreecommitdiffstats
path: root/plugins/barometer/roles/collectd/templates/virt.conf.j2
diff options
context:
space:
mode:
authorYifei Xue <xueyifei@huawei.com>2018-02-03 01:06:20 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-02-03 01:06:20 +0000
commiteb48dc4b47f2da65fcceaba7864e7077175855de (patch)
treed3ddf9e251d4168114d20e841c09c48f7ea8e3e9 /plugins/barometer/roles/collectd/templates/virt.conf.j2
parentbce23c34f221cdd9a41608c6505b359d99963afe (diff)
parent2d319ec0cf12ff6edf2ba236213f8ead382b7616 (diff)
Merge "Update Barometer plugin to use collectd container"
Diffstat (limited to 'plugins/barometer/roles/collectd/templates/virt.conf.j2')
-rw-r--r--plugins/barometer/roles/collectd/templates/virt.conf.j232
1 files changed, 32 insertions, 0 deletions
diff --git a/plugins/barometer/roles/collectd/templates/virt.conf.j2 b/plugins/barometer/roles/collectd/templates/virt.conf.j2
new file mode 100644
index 00000000..8048bc13
--- /dev/null
+++ b/plugins/barometer/roles/collectd/templates/virt.conf.j2
@@ -0,0 +1,32 @@
+# Copyright 2017-18 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>
+