View | Details | Raw Unified | Return to bug 207057 | Differences between
and this patch

Collapse All | Expand All

(-)b/net-mgmt/observium/Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	observium
4
PORTNAME=	observium
5
PORTVERSION=	0.16.1.7533
5
PORTVERSION=	0.16.1.7533
6
PORTREVISION=	0
6
PORTREVISION=	1
7
CATEGORIES=	net-mgmt
7
CATEGORIES=	net-mgmt
8
MASTER_SITES=	http://www.observium.org/
8
MASTER_SITES=	http://www.observium.org/
9
DISTNAME=	${PORTNAME}-community-latest
9
DISTNAME=	${PORTNAME}-community-latest
(-)b/net-mgmt/observium/files/patch-html_includes_graphs_generic__multi__bits__separated.inc.php (+27 lines)
Added Link Here
1
--- html/includes/graphs/generic_multi_bits_separated.inc.php.orig	2016-01-15 08:37:56 UTC
2
+++ html/includes/graphs/generic_multi_bits_separated.inc.php
3
@@ -76,13 +76,13 @@ foreach ($rrd_list as $rrd)
4
   $rrd_options .= " VDEF:totout".$i."=outB".$i.",TOTAL";
5
   $rrd_options .= " VDEF:tot".$i."=octets".$i.",TOTAL";
6
 
7
-  if ($i) { $stack="STACK"; }
8
+  if ($i) { $stack=":STACK"; }
9
 
10
   if ($vars['line_graph'])
11
   {
12
     $rrd_options .= " LINE1.25:inB".$i."#" . $colour_in . ":'" . $descr . "'";
13
   } else {
14
-    $rrd_options .= " AREA:inB".$i."#" . $colour_in . ":'" . $descr . "':$stack";
15
+    $rrd_options .= " AREA:inB".$i."#" . $colour_in . ":'" . $descr . "'$stack";
16
   }
17
   $rrd_options .= " GPRINT:inB".$i.":LAST:%6.2lf%s$units";
18
   $rrd_options .= " GPRINT:inB".$i.":AVERAGE:%6.2lf%s$units";
19
@@ -97,7 +97,7 @@ foreach ($rrd_list as $rrd)
20
     $rrd_options .= " 'LINE1.25:outB".$i."_neg#" . $colour_out . ":" . $descr_out . "'";
21
   } else {
22
     $rrd_options  .= " 'HRULE:0#" . $colour_out.":".$descr_out."'";
23
-    $rrd_optionsb .= " 'AREA:outB".$i."_neg#" . $colour_out . "::$stack'";
24
+    $rrd_optionsb .= " 'AREA:outB".$i."_neg#" . $colour_out . ":$stack'";
25
   }
26
   $rrd_options  .= " GPRINT:outB".$i.":LAST:%6.2lf%s$units";
27
   $rrd_options  .= " GPRINT:outB".$i.":AVERAGE:%6.2lf%s$units";

Return to bug 207057