25 lines
419 B
PHP
Raw Normal View History

<?php
$scale_min = 0;
2015-07-13 20:10:26 +02:00
require 'includes/graphs/common.inc.php';
2015-07-13 20:10:26 +02:00
$apache_rrd = $config['rrd_dir'].'/'.$device['hostname'].'/app-apache-'.$app['app_id'].'.rrd';
2015-07-13 20:10:26 +02:00
if (is_file($apache_rrd)) {
$rrd_filename = $apache_rrd;
}
2015-07-13 20:10:26 +02:00
$ds = 'access';
2015-07-13 20:10:26 +02:00
$colour_area = 'B0C4DE';
$colour_line = '191970';
2015-07-13 20:10:26 +02:00
$colour_area_max = 'FFEE99';
$graph_max = 1;
2015-07-13 20:10:26 +02:00
$unit_text = 'Hits/sec';
2015-07-13 20:10:26 +02:00
require 'includes/graphs/generic_simplex.inc.php';