mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
fixes
git-svn-id: http://www.observium.org/svn/observer/trunk@2585 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
|
||||
include("includes/graphs/common.inc.php");
|
||||
|
||||
$descrlen = "18";
|
||||
$descrlen = "12";
|
||||
$unitlen = "10";
|
||||
if($nototal) { $descrlen += "2"; $unitlen += "2";}
|
||||
if ($nototal) { $descrlen += "2"; $unitlen += "2";}
|
||||
$unit_text = str_pad(truncate($unit_text,$unitlen),$unitlen);
|
||||
|
||||
$rrd_options .= " COMMENT:'$unit_text Cur Max'";
|
||||
if (!$nototal) { $rrd_options .= " COMMENT:'Total '"; }
|
||||
$rrd_options .= " COMMENT:'$unit_text Cur Max '";
|
||||
if (!$nototal) { $rrd_options .= " COMMENT:' Total '"; }
|
||||
$rrd_options .= " COMMENT:'\\n'";
|
||||
|
||||
$colour_iter=0;
|
||||
|
||||
Reference in New Issue
Block a user