aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/hddtemp.php
diff options
context:
space:
mode:
authorPim van den Berg2013-05-13 20:41:14 +0200
committerPim van den Berg2013-05-13 20:41:14 +0200
commita2814f6a4b46a5d9e86146c837ae11343dde4ea7 (patch)
tree0e821febc948da493ecb40a31ecfdbf4df0e80ab /plugin/hddtemp.php
parenttype: stick to the rrdgraph time specification (diff)
downloadapt-panopticon_cgp-a2814f6a4b46a5d9e86146c837ae11343dde4ea7.zip
apt-panopticon_cgp-a2814f6a4b46a5d9e86146c837ae11343dde4ea7.tar.gz
apt-panopticon_cgp-a2814f6a4b46a5d9e86146c837ae11343dde4ea7.tar.bz2
apt-panopticon_cgp-a2814f6a4b46a5d9e86146c837ae11343dde4ea7.tar.xz
move width/heigth from plugins to type __construct
Diffstat (limited to '')
-rw-r--r--plugin/hddtemp.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugin/hddtemp.php b/plugin/hddtemp.php
index 1c90b78..2df7f35 100644
--- a/plugin/hddtemp.php
+++ b/plugin/hddtemp.php
@@ -11,8 +11,6 @@ require_once 'inc/collectd.inc.php';
11 11
12$obj = new Type_Default($CONFIG); 12$obj = new Type_Default($CONFIG);
13$obj->ds_names = array('temperature' => 'Temperature'); 13$obj->ds_names = array('temperature' => 'Temperature');
14$obj->width = $width;
15$obj->heigth = $heigth;
16$obj->rrd_title = 'HDD Temperature'; 14$obj->rrd_title = 'HDD Temperature';
17$obj->rrd_vertical = '°C'; 15$obj->rrd_vertical = '°C';
18$obj->rrd_format = '%.1lf'; 16$obj->rrd_format = '%.1lf';