fixed a missing gap colouring in some zoomed graphs of 'system.pm'

This commit is contained in:
Jordi Sanfeliu 2018-01-09 18:07:21 +01:00
parent 2d19b0d466
commit 89ed14b174
2 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,7 @@
- Fixed to correctly represent the values in text mode in 'ipmi.pm'.
- Fixed a missalignment of the MB & CPU temperatures values in 'lmsens.pm'.
- Fixed to limit the length of the device names in 'fs.pm'.
- Fixed a missing gap colouring in some zoomed graphs of 'system.pm'.
3.10.0 - 25-Sep-2017

View File

@ -831,6 +831,7 @@ sub system_cgi {
}
if(lc($config->{show_gaps}) eq "y") {
push(@tmp, "AREA:wrongdata#$colors->{gap}:");
push(@tmpz, "AREA:wrongdata#$colors->{gap}:");
push(@CDEF, "CDEF:wrongdata=allvalues,UN,INF,UNKN,IF");
}
($width, $height) = split('x', $config->{graph_size}->{small});
@ -919,6 +920,7 @@ sub system_cgi {
push(@tmpz, "LINE2:entropy#EEEE00:Entropy");
if(lc($config->{show_gaps}) eq "y") {
push(@tmp, "AREA:wrongdata#$colors->{gap}:");
push(@tmpz, "AREA:wrongdata#$colors->{gap}:");
push(@CDEF, "CDEF:wrongdata=allvalues,UN,INF,UNKN,IF");
}
($width, $height) = split('x', $config->{graph_size}->{small});
@ -995,6 +997,7 @@ sub system_cgi {
push(@tmpz, "LINE2:uptime_days#EE44EE:Uptime");
if(lc($config->{show_gaps}) eq "y") {
push(@tmp, "AREA:wrongdata#$colors->{gap}:");
push(@tmpz, "AREA:wrongdata#$colors->{gap}:");
push(@CDEF, "CDEF:wrongdata=allvalues,UN,INF,UNKN,IF");
}
($width, $height) = split('x', $config->{graph_size}->{small});