mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-25 00:32:16 +02:00
syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@3185 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
<?php
|
||||
|
||||
|
||||
if($config['old_graphs'])
|
||||
{
|
||||
include("includes/graphs/old_generic_simplex.inc.php");
|
||||
} else {
|
||||
|
||||
|
||||
|
||||
/// Draw generic bits graph
|
||||
/// args: ds_in, ds_out, rrd_filename, bg, legend, from, to, width, height, inverse, percentile
|
||||
|
||||
@@ -19,7 +16,6 @@ $line_text = str_pad(truncate($line_text,12,''),12);
|
||||
if ($multiplier)
|
||||
{
|
||||
$rrd_options .= " DEF:".$ds."_o=".$rrd_filename.":".$ds.":AVERAGE";
|
||||
if($config['oldrrd']) {}
|
||||
$rrd_options .= " DEF:".$ds."_max_o=".$rrd_filename.":".$ds.":MAX";
|
||||
$rrd_options .= " DEF:".$ds."_min_o=".$rrd_filename.":".$ds.":MIN";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user