Files
librenms-librenms/html/includes/graphs/application/apache_cpu.inc.php

25 lines
414 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 = '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';