fixed the missing declaration of 'allvalues' in 'gensens.pm' #193

This commit is contained in:
Jordi Sanfeliu 2017-10-30 10:01:12 +01:00
parent fb072aabca
commit 9484c5e905
2 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,8 @@
- Fixed in 'process.pm' to fully honour the option 'netstats_in_bps'.
- Fixed to force Monitorix to be started at the end of boot in systemd-based
systems. This should fix a problem with 'traffacct.pm' and iptables.
- Fixed the missing declaration of 'allvalues' in 'gensens.pm' which prevented
graphs generation if 'show_gaps' option was enabled.
3.10.0 - 25-Sep-2017

View File

@ -411,6 +411,7 @@ sub gensens_cgi {
"DEF:gsen6=$rrd:gensens0_s7:AVERAGE",
"DEF:gsen7=$rrd:gensens0_s8:AVERAGE",
"DEF:gsen8=$rrd:gensens0_s9:AVERAGE",
"CDEF:allvalues=gsen0,gsen1,gsen2,gsen3,gsen4,gsen5,gsen6,gsen7,gsen8,+,+,+,+,+,+,+,+",
@CDEF,
@tmp);
$err = RRDs::error;
@ -438,6 +439,7 @@ sub gensens_cgi {
"DEF:gsen6=$rrd:gensens0_s7:AVERAGE",
"DEF:gsen7=$rrd:gensens0_s8:AVERAGE",
"DEF:gsen8=$rrd:gensens0_s9:AVERAGE",
"CDEF:allvalues=gsen0,gsen1,gsen2,gsen3,gsen4,gsen5,gsen6,gsen7,gsen8,+,+,+,+,+,+,+,+",
@CDEF,
@tmpz);
$err = RRDs::error;
@ -520,6 +522,7 @@ sub gensens_cgi {
"DEF:gsen6=$rrd:gensens1_s7:AVERAGE",
"DEF:gsen7=$rrd:gensens1_s8:AVERAGE",
"DEF:gsen8=$rrd:gensens1_s9:AVERAGE",
"CDEF:allvalues=gsen0,gsen1,gsen2,gsen3,gsen4,gsen5,gsen6,gsen7,gsen8,+,+,+,+,+,+,+,+",
@CDEF,
@tmp);
$err = RRDs::error;
@ -547,6 +550,7 @@ sub gensens_cgi {
"DEF:gsen6=$rrd:gensens1_s7:AVERAGE",
"DEF:gsen7=$rrd:gensens1_s8:AVERAGE",
"DEF:gsen8=$rrd:gensens1_s9:AVERAGE",
"CDEF:allvalues=gsen0,gsen1,gsen2,gsen3,gsen4,gsen5,gsen6,gsen7,gsen8,+,+,+,+,+,+,+,+",
@CDEF,
@tmpz);
$err = RRDs::error;