2010-07-25 18:26:31 +00:00
|
|
|
<?php
|
|
|
|
|
2011-06-01 09:45:47 +00:00
|
|
|
$scale_min = 0;
|
|
|
|
|
2015-07-13 20:10:26 +02:00
|
|
|
require 'includes/graphs/common.inc.php';
|
2010-07-25 18:26:31 +00:00
|
|
|
|
2015-07-13 20:10:26 +02:00
|
|
|
$apache_rrd = $config['rrd_dir'].'/'.$device['hostname'].'/app-apache-'.$app['app_id'].'.rrd';
|
2010-07-25 18:26:31 +00:00
|
|
|
|
2015-07-13 20:10:26 +02:00
|
|
|
if (is_file($apache_rrd)) {
|
|
|
|
$rrd_filename = $apache_rrd;
|
2010-07-25 18:26:31 +00:00
|
|
|
}
|
|
|
|
|
2015-07-13 20:10:26 +02:00
|
|
|
$ds = 'kbyte';
|
2010-07-25 18:26:31 +00:00
|
|
|
|
2015-07-13 20:10:26 +02:00
|
|
|
$colour_area = 'CDEB8B';
|
|
|
|
$colour_line = '006600';
|
2010-07-25 18:26:31 +00:00
|
|
|
|
2015-07-13 20:10:26 +02:00
|
|
|
$colour_area_max = 'FFEE99';
|
2010-07-25 18:26:31 +00:00
|
|
|
|
2015-07-13 20:10:26 +02:00
|
|
|
$graph_max = 1;
|
2011-10-07 19:48:15 +00:00
|
|
|
$multiplier = 8;
|
2010-07-25 18:26:31 +00:00
|
|
|
|
2015-07-13 20:10:26 +02:00
|
|
|
$unit_text = 'Kbps';
|
2010-07-25 18:26:31 +00:00
|
|
|
|
2015-07-13 20:10:26 +02:00
|
|
|
require 'includes/graphs/generic_simplex.inc.php';
|