aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/libvirt.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/libvirt.php')
-rw-r--r--plugin/libvirt.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/libvirt.php b/plugin/libvirt.php
index 1cc05c2..08d0a6d 100644
--- a/plugin/libvirt.php
+++ b/plugin/libvirt.php
@@ -16,7 +16,7 @@ require_once 'inc/collectd.inc.php';
16# libvirt/virt_cpu_total.rrd 16# libvirt/virt_cpu_total.rrd
17 17
18require_once 'type/GenericIO.class.php'; 18require_once 'type/GenericIO.class.php';
19$obj = new Type_GenericIO($CONFIG); 19$obj = new Type_GenericIO($CONFIG, $_GET);
20 20
21switch($obj->args['type']) { 21switch($obj->args['type']) {
22 case 'disk_octets': 22 case 'disk_octets':
@@ -102,7 +102,7 @@ switch($obj->args['type']) {
102 break; 102 break;
103 case 'virt_cpu_total': 103 case 'virt_cpu_total':
104 require_once 'type/Default.class.php'; 104 require_once 'type/Default.class.php';
105 $obj = new Type_Default($CONFIG); 105 $obj = new Type_Default($CONFIG, $_GET);
106 106
107 $obj->data_sources = array('value'); 107 $obj->data_sources = array('value');
108 $obj->ds_names = array( 108 $obj->ds_names = array(
@@ -116,7 +116,7 @@ switch($obj->args['type']) {
116 break; 116 break;
117 case 'virt_vcpu': 117 case 'virt_vcpu':
118 require_once 'type/Default.class.php'; 118 require_once 'type/Default.class.php';
119 $obj = new Type_Default($CONFIG); 119 $obj = new Type_Default($CONFIG, $_GET);
120 120
121 $obj->data_sources = array('value'); 121 $obj->data_sources = array('value');
122 $obj->ds_names = array( 122 $obj->ds_names = array(