fixed a missing 'allvalues=' declaration which affected graphs of type 'files' and 'show_gaps' enabled in 'du.pm'. #277

This commit is contained in:
Jordi Sanfeliu 2020-04-24 10:00:51 +02:00
parent edc0a12389
commit a7365f0043
1 changed files with 1 additions and 0 deletions

View File

@ -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";