mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-03 08:01:38 +02:00
generic_duplex previous add transparent area
git-svn-id: http://www.observium.org/svn/observer/trunk@3241 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -122,7 +122,9 @@ if ($percentile)
|
|||||||
if($_GET['previous'] == "yes")
|
if($_GET['previous'] == "yes")
|
||||||
{
|
{
|
||||||
$rrd_options .= " LINE1.25:in".$format."X#666666:'Prev In \\\\n'";
|
$rrd_options .= " LINE1.25:in".$format."X#666666:'Prev In \\\\n'";
|
||||||
|
$rrd_options .= " AREA:in".$format."X#99999966:";
|
||||||
$rrd_options .= " LINE1.25:dout".$format."X#666666:'Prev Out'";
|
$rrd_options .= " LINE1.25:dout".$format."X#666666:'Prev Out'";
|
||||||
|
$rrd_options .= " AREA:dout".$format."X#99999966:";
|
||||||
}
|
}
|
||||||
|
|
||||||
$rrd_options .= " HRULE:0#999999";
|
$rrd_options .= " HRULE:0#999999";
|
||||||
|
|||||||
+1
-3
@@ -199,8 +199,6 @@ if (isset($_GET['format']) && preg_match("/^[a-z]*$/", $_GET['format']))
|
|||||||
|
|
||||||
if ($links > 30) // Unflatten if there are more than 10 links. beyond that it gets messy
|
if ($links > 30) // Unflatten if there are more than 10 links. beyond that it gets messy
|
||||||
{
|
{
|
||||||
# $maptool = $config['unflatten'] . ' -f -l 5 | ' . $config['sfdp'] . ' -Gpack -Gcharset=latin1 | '.$config['dot'];
|
|
||||||
$maptool = $config['neato'];
|
|
||||||
$maptool = $config['dot'];
|
$maptool = $config['dot'];
|
||||||
} else {
|
} else {
|
||||||
$maptool = $config['dot'];
|
$maptool = $config['dot'];
|
||||||
@@ -209,7 +207,7 @@ if (isset($_GET['format']) && preg_match("/^[a-z]*$/", $_GET['format']))
|
|||||||
if ($where == '')
|
if ($where == '')
|
||||||
{
|
{
|
||||||
# $maptool = $config['unflatten'] . ' -f -l 5 | ' . $config['sfdp'] . ' -Gpack -Goverlap=prism -Gcharset=latin1 | dot';
|
# $maptool = $config['unflatten'] . ' -f -l 5 | ' . $config['sfdp'] . ' -Gpack -Goverlap=prism -Gcharset=latin1 | dot';
|
||||||
# $maptool = $config['sfdp'] . ' -Gpack -Goverlap=prism -Gcharset=latin1 -Gsize=20,20';
|
$maptool = $config['sfdp'] . ' -Gpack -Goverlap=prism -Gcharset=latin1 -Gsize=20,20';
|
||||||
$maptool = $config['dot'];
|
$maptool = $config['dot'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user