diff options
author | Pim van den Berg | 2010-01-12 19:58:47 +0100 |
---|---|---|
committer | Pim van den Berg | 2010-01-12 20:19:47 +0100 |
commit | 924495bb2d732548083de9e54bf93eebe7f0d910 (patch) | |
tree | 1f9deb6f85c00cf568d6738752bb21a6a3658521 /plugin/interface.php | |
parent | update changelog to v0.2 (diff) | |
download | apt-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/interface.php')
-rw-r--r-- | plugin/interface.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/interface.php b/plugin/interface.php index 89e4280..833de38 100644 --- a/plugin/interface.php +++ b/plugin/interface.php | |||
@@ -12,7 +12,7 @@ require_once 'inc/collectd.inc.php'; | |||
12 | # interface/if_octets-XXXX.rrd | 12 | # interface/if_octets-XXXX.rrd |
13 | # interface/if_packets-XXXX.rrd | 13 | # interface/if_packets-XXXX.rrd |
14 | 14 | ||
15 | $obj = new Type_GenericIO($CONFIG['datadir']); | 15 | $obj = new Type_GenericIO($CONFIG); |
16 | $obj->data_sources = array('rx', 'tx'); | 16 | $obj->data_sources = array('rx', 'tx'); |
17 | $obj->ds_names = array( | 17 | $obj->ds_names = array( |
18 | 'rx' => 'Receive ', | 18 | 'rx' => 'Receive ', |