25 lines
421 B
PHP
Raw Normal View History

<?php
$scale_min = 0;
2015-07-13 20:10:26 +02:00
require 'includes/graphs/common.inc.php';
$apache_rrd = rrd_name($device['hostname'], array('app', 'apache', $app['app_id']));
if (rrdtool_check_rrd_exists($apache_rrd)) {
2015-07-13 20:10:26 +02:00
$rrd_filename = $apache_rrd;
}
2015-07-13 20:10:26 +02:00
$ds = 'cpu';
2015-07-13 20:10:26 +02:00
$colour_area = 'F0E68C';
$colour_line = 'FF4500';
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 = '% Used';
2015-07-13 20:10:26 +02:00
require 'includes/graphs/generic_simplex.inc.php';