prettier apache graphs (scale start at 0)

git-svn-id: http://www.observium.org/svn/observer/trunk@2377 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-06-01 09:45:47 +00:00
parent 26b4e22eac
commit ff0f35503d
4 changed files with 12 additions and 4 deletions

View File

@@ -1,5 +1,7 @@
<?php
$scale_min = 0;
include("includes/graphs/common.inc.php");
$apache_rrd = $config['rrd_dir'] . "/" . $device['hostname'] . "/app-apache-".$app['app_id'].".rrd";
@@ -22,4 +24,4 @@ $unit_text = "KByte/sec";
include("includes/graphs/generic_simplex.inc.php");
?>
?>

View File

@@ -1,5 +1,7 @@
<?php
$scale_min = 0;
include("includes/graphs/common.inc.php");
$apache_rrd = $config['rrd_dir'] . "/" . $device['hostname'] . "/app-apache-".$app['app_id'].".rrd";
@@ -22,4 +24,4 @@ $unit_text = "% Used";
include("includes/graphs/generic_simplex.inc.php");
?>
?>

View File

@@ -1,5 +1,7 @@
<?php
$scale_min = 0;
include("includes/graphs/common.inc.php");
$apache_rrd = $config['rrd_dir'] . "/" . $device['hostname'] . "/app-apache-".$app['app_id'].".rrd";
@@ -22,4 +24,4 @@ $unit_text = "Hits/sec";
include("includes/graphs/generic_simplex.inc.php");
?>
?>

View File

@@ -1,5 +1,7 @@
<?php
$scale_min = 0;
include("includes/graphs/common.inc.php");
$apache_rrd = $config['rrd_dir'] . "/" . $device['hostname'] . "/app-apache-".$app['app_id'].".rrd";
@@ -61,4 +63,4 @@ $rrd_options .= 'GPRINT:j:LAST:"%6.2lf %s" ';
$rrd_options .= 'GPRINT:j:AVERAGE:"%6.2lf %s" ';
$rrd_options .= 'GPRINT:j:MAX:"%6.2lf %s\n"';
?>
?>