diff options
Diffstat (limited to 'plugin/swap.php')
-rw-r--r-- | plugin/swap.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/swap.php b/plugin/swap.php index dfd9ba1..d1ba823 100644 --- a/plugin/swap.php +++ b/plugin/swap.php | |||
@@ -2,8 +2,8 @@ | |||
2 | 2 | ||
3 | # Collectd Swap plugin | 3 | # Collectd Swap plugin |
4 | 4 | ||
5 | require_once $CONFIG['webdir'].'/conf/config.php'; | 5 | require_once 'conf/common.inc.php'; |
6 | require_once $CONFIG['webdir'].'/type/GenericStacked.class.php'; | 6 | require_once 'type/GenericStacked.class.php'; |
7 | 7 | ||
8 | ## LAYOUT | 8 | ## LAYOUT |
9 | # swap/ | 9 | # swap/ |
@@ -12,7 +12,7 @@ require_once $CONFIG['webdir'].'/type/GenericStacked.class.php'; | |||
12 | # swap/swap-used.rrd | 12 | # swap/swap-used.rrd |
13 | 13 | ||
14 | # grouped | 14 | # grouped |
15 | require_once $CONFIG['webdir'].'/inc/collectd.inc.php'; | 15 | require_once 'inc/collectd.inc.php'; |
16 | $tinstance = collectd_plugindetail($host, $plugin, 'ti'); | 16 | $tinstance = collectd_plugindetail($host, $plugin, 'ti'); |
17 | 17 | ||
18 | $obj = new Type_GenericStacked; | 18 | $obj = new Type_GenericStacked; |