diff options
author | Pim van den Berg | 2011-07-04 20:58:29 +0200 |
---|---|---|
committer | Pim van den Berg | 2011-07-04 20:58:29 +0200 |
commit | e7193cd45a03e438719b156f330c2c7061484b1b (patch) | |
tree | f740d4041e04055984919be6f9c269c479c23da2 /inc/collectd.inc.php | |
parent | type/Default: dont use t as ti when no ti is set (diff) | |
download | apt-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 '')
-rw-r--r-- | inc/collectd.inc.php | 2 |
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 | } |