mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@@ -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");
|
||||
|
||||
?>
|
||||
?>
|
||||
|
@@ -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");
|
||||
|
||||
?>
|
||||
?>
|
||||
|
@@ -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");
|
||||
|
||||
?>
|
||||
?>
|
||||
|
@@ -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"';
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user