aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin
diff options
context:
space:
mode:
authorPim van den Berg2009-11-15 11:38:27 +0100
committerPim van den Berg2009-11-15 11:38:27 +0100
commit705d110ca46c61c8577b39def0525ad5036225ed (patch)
treeb0f72b5c81177c1af3437fc4b4cd8cd988e48006 /plugin
parentadd descriptions to configuration settings (diff)
downloadapt-panopticon_cgp-705d110ca46c61c8577b39def0525ad5036225ed.zip
apt-panopticon_cgp-705d110ca46c61c8577b39def0525ad5036225ed.tar.gz
apt-panopticon_cgp-705d110ca46c61c8577b39def0525ad5036225ed.tar.bz2
apt-panopticon_cgp-705d110ca46c61c8577b39def0525ad5036225ed.tar.xz
temporary disable swap_io
Diffstat (limited to 'plugin')
-rw-r--r--plugin/swap.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugin/swap.php b/plugin/swap.php
index 18c6242..8173890 100644
--- a/plugin/swap.php
+++ b/plugin/swap.php
@@ -11,9 +11,14 @@ require_once 'type/GenericStacked.class.php';
11# swap/swap-free.rrd 11# swap/swap-free.rrd
12# swap/swap-used.rrd 12# swap/swap-used.rrd
13 13
14if ($type == 'swap_io') {
15 die_img('Error: swap_io not supported yet');
16 exit;
17}
18
14# grouped 19# grouped
15require_once 'inc/collectd.inc.php'; 20require_once 'inc/collectd.inc.php';
16$tinstance = collectd_plugindetail($host, $plugin, 'ti'); 21$tinstance = collectd_plugindetail($host, $plugin, 'ti', array('t' => $type));
17 22
18$obj = new Type_GenericStacked; 23$obj = new Type_GenericStacked;
19$obj->datadir = $CONFIG['datadir']; 24$obj->datadir = $CONFIG['datadir'];