aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/collectd.inc.php
diff options
context:
space:
mode:
authorPim van den Berg2011-07-04 20:58:29 +0200
committerPim van den Berg2011-07-04 20:58:29 +0200
commite7193cd45a03e438719b156f330c2c7061484b1b (patch)
treef740d4041e04055984919be6f9c269c479c23da2 /inc/collectd.inc.php
parenttype/Default: dont use t as ti when no ti is set (diff)
downloadapt-panopticon_cgp-e7193cd45a03e438719b156f330c2c7061484b1b.zip
apt-panopticon_cgp-e7193cd45a03e438719b156f330c2c7061484b1b.tar.gz
apt-panopticon_cgp-e7193cd45a03e438719b156f330c2c7061484b1b.tar.bz2
apt-panopticon_cgp-e7193cd45a03e438719b156f330c2c7061484b1b.tar.xz
plugin: add libvirt plugin
Diffstat (limited to 'inc/collectd.inc.php')
-rw-r--r--inc/collectd.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/collectd.inc.php b/inc/collectd.inc.php
index e5a7df4..51aedba 100644
--- a/inc/collectd.inc.php
+++ b/inc/collectd.inc.php
@@ -107,7 +107,7 @@ function group_plugindata($plugindata) {
107 # type instances should be grouped in 1 graph 107 # type instances should be grouped in 1 graph
108 foreach ($plugindata as $item) { 108 foreach ($plugindata as $item) {
109 # backwards compatibility 109 # backwards compatibility
110 if ($CONFIG['version'] >= 5 || !preg_match('/^(df|interface)$/', $item['p'])) 110 if ($CONFIG['version'] >= 5 || !preg_match('/^(df|interface|libvirt)$/', $item['p']))
111 unset($item['ti']); 111 unset($item['ti']);
112 $data[] = $item; 112 $data[] = $item;
113 } 113 }