aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/ping.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/ping.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 'plugin/ping.php')
-rw-r--r--plugin/ping.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugin/ping.php b/plugin/ping.php
index f2845f1..042586a 100644
--- a/plugin/ping.php
+++ b/plugin/ping.php
@@ -17,8 +17,6 @@ $obj->data_sources = array('value');
17$obj->ds_names = array('ping' => 'Ping time', 17$obj->ds_names = array('ping' => 'Ping time',
18 'ping_stddev' => 'Ping stddev', 18 'ping_stddev' => 'Ping stddev',
19 'ping_droprate' => 'Ping droprate'); 19 'ping_droprate' => 'Ping droprate');
20$obj->width = $width;
21$obj->heigth = $heigth;
22$obj->rrd_format = '%5.1lf'; 20$obj->rrd_format = '%5.1lf';
23 21
24switch($obj->args['type']) { 22switch($obj->args['type']) {