mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix gneeric_multi_line and etherlike graphtypes
git-svn-id: http://www.observium.org/svn/observer/trunk@2682 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -19,7 +19,7 @@ if($width > "500")
|
|||||||
if (!$nototal) { $rrd_options .= " COMMENT:'Total '"; }
|
if (!$nototal) { $rrd_options .= " COMMENT:'Total '"; }
|
||||||
$rrd_options .= " COMMENT:'\l'";
|
$rrd_options .= " COMMENT:'\l'";
|
||||||
} else {
|
} else {
|
||||||
$rrd_options .= " COMMENT:'".substr(str_pad($unit_text, $descr_len+5),0,$descr_len+5)." Now Ave Max\l'";
|
$rrd_options .= " COMMENT:'".substr(str_pad($unit_text, $descr_len+5),0,$descr_len+5)."Now Ave Max Avg\l'";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ if (is_file($rrd_filename))
|
|||||||
$colours = "mixed";
|
$colours = "mixed";
|
||||||
$nototal = 1;
|
$nototal = 1;
|
||||||
$unit_text = "Errors";
|
$unit_text = "Errors";
|
||||||
|
$simple_rrd = 1;
|
||||||
|
|
||||||
include("includes/graphs/generic_multi_simplex_seperated.inc.php");
|
include("includes/graphs/generic_multi_simplex_seperated.inc.php");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user