mirror of https://github.com/mikaku/Monitorix.git
fixed a missing gap colouring in some zoomed graphs of 'system.pm'
This commit is contained in:
parent
2d19b0d466
commit
89ed14b174
1
Changes
1
Changes
|
@ -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
|
||||
|
|
|
@ -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});
|
||||
|
|
Loading…
Reference in New Issue