aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/swap.php
diff options
context:
space:
mode:
authorPim van den Berg2010-01-12 19:58:47 +0100
committerPim van den Berg2010-01-12 20:19:47 +0100
commit924495bb2d732548083de9e54bf93eebe7f0d910 (patch)
tree1f9deb6f85c00cf568d6738752bb21a6a3658521 /plugin/swap.php
parentupdate changelog to v0.2 (diff)
downloadapt-panopticon_cgp-924495bb2d732548083de9e54bf93eebe7f0d910.zip
apt-panopticon_cgp-924495bb2d732548083de9e54bf93eebe7f0d910.tar.gz
apt-panopticon_cgp-924495bb2d732548083de9e54bf93eebe7f0d910.tar.bz2
apt-panopticon_cgp-924495bb2d732548083de9e54bf93eebe7f0d910.tar.xz
make rrdtool executable configurable
Diffstat (limited to 'plugin/swap.php')
-rw-r--r--plugin/swap.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/swap.php b/plugin/swap.php
index 27bf7f9..e1fa3f6 100644
--- a/plugin/swap.php
+++ b/plugin/swap.php
@@ -14,7 +14,7 @@ require_once 'inc/collectd.inc.php';
14switch($_GET['t']) { 14switch($_GET['t']) {
15 case 'swap': 15 case 'swap':
16 require_once 'type/GenericStacked.class.php'; 16 require_once 'type/GenericStacked.class.php';
17 $obj = new Type_GenericStacked($CONFIG['datadir']); 17 $obj = new Type_GenericStacked($CONFIG);
18 $obj->order = array('free', 'cached', 'used'); 18 $obj->order = array('free', 'cached', 'used');
19 $obj->ds_names = array( 19 $obj->ds_names = array(
20 'free' => 'Free ', 20 'free' => 'Free ',
@@ -31,7 +31,7 @@ switch($_GET['t']) {
31 break; 31 break;
32 case 'swap_io': 32 case 'swap_io':
33 require_once 'type/GenericIO.class.php'; 33 require_once 'type/GenericIO.class.php';
34 $obj = new Type_GenericIO($CONFIG['datadir']); 34 $obj = new Type_GenericIO($CONFIG);
35 $obj->order = array('out', 'in'); 35 $obj->order = array('out', 'in');
36 $obj->ds_names = array( 36 $obj->ds_names = array(
37 'out' => 'Out', 37 'out' => 'Out',