apache graph improvements. bytes => bits

git-svn-id: http://www.observium.org/svn/observer/trunk@2667 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-10-07 19:48:15 +00:00
parent 8919430912
commit 28a7ba8de7
5 changed files with 22 additions and 11 deletions

View File

@ -0,0 +1,29 @@
<?php
$scale_min = 0;
include("includes/graphs/common.inc.php");
$apache_rrd = $config['rrd_dir'] . "/" . $device['hostname'] . "/app-apache-".$app['app_id'].".rrd";
if (is_file($apache_rrd))
{
$rrd_filename = $apache_rrd;
}
$ds = "kbyte";
$colour_area = "CDEB8B";
$colour_line = "006600";
$colour_area_max = "FFEE99";
$graph_max = 1;
$multiplier = 8;
$unit_text = "Kbps";
include("includes/graphs/generic_simplex.inc.php");
?>