From a7365f00433828d43da08e1a10336c06002e460f Mon Sep 17 00:00:00 2001 From: Jordi Sanfeliu Date: Fri, 24 Apr 2020 10:00:51 +0200 Subject: [PATCH] fixed a missing 'allvalues=' declaration which affected graphs of type 'files' and 'show_gaps' enabled in 'du.pm'. #277 --- lib/du.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/du.pm b/lib/du.pm index fb21894..d729567 100644 --- a/lib/du.pm +++ b/lib/du.pm @@ -383,6 +383,7 @@ sub du_cgi { push(@DEF0, "DEF:d7=$rrd:du" . $n . "_d7:AVERAGE"); push(@DEF0, "DEF:d8=$rrd:du" . $n . "_d8:AVERAGE"); push(@DEF0, "DEF:d9=$rrd:du" . $n . "_d9:AVERAGE"); + push(@CDEF0, "CDEF:allvalues=d1,d2,d3,d4,d5,d6,d7,d8,d9,+,+,+,+,+,+,+,+"); # default type is 'bytes' } else { $type_label = "bytes";