mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 08:02:51 +02:00
syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@3071 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -28,7 +28,7 @@ foreach ($rrd_filenames as $key => $rrd_filename)
|
||||
$seperator = ",";
|
||||
$plus = ",+";
|
||||
|
||||
if($_GET['previous'])
|
||||
if ($_GET['previous'])
|
||||
{
|
||||
$rrd_options .= " DEF:".$in."octets" . $i . "X=".$rrd_filename.":".$ds_in.":AVERAGE:start=".$prev_from.":end=".$from;
|
||||
$rrd_options .= " DEF:".$out."octets" . $i . "X=".$rrd_filename.":".$ds_out.":AVERAGE:start=".$prev_from.":end=".$from;
|
||||
@@ -56,7 +56,7 @@ if ($i)
|
||||
$rrd_options .= " VDEF:95thout=outbits,95,PERCENT";
|
||||
$rrd_options .= " VDEF:d95thout=doutbits,5,PERCENT";
|
||||
|
||||
if($_GET['previous'] == "yes")
|
||||
if ($_GET['previous'] == "yes")
|
||||
{
|
||||
$rrd_options .= " CDEF:".$in."octetsX=" . $in_thingX . $pluses;
|
||||
$rrd_options .= " CDEF:".$out."octetsX=" . $out_thingX . $pluses;
|
||||
@@ -94,7 +94,7 @@ if ($i)
|
||||
$rrd_options .= " LINE1:95thin#aa0000";
|
||||
$rrd_options .= " LINE1:d95thout#aa0000";
|
||||
|
||||
if($_GET['previous'] == "yes")
|
||||
if ($_GET['previous'] == "yes")
|
||||
{
|
||||
$rrd_options .= " AREA:in".$format."X#99999999:";
|
||||
$rrd_options .= " AREA:dout".$format."X#99999999:";
|
||||
|
||||
Reference in New Issue
Block a user