mirror of https://github.com/mikaku/Monitorix.git
Fixed a bug that prevented seeing the Core temperatures in the 'lmsens' graph
This commit is contained in:
parent
61d21a35b9
commit
dfd536e813
|
@ -528,7 +528,7 @@ sub lmsens_cgi {
|
||||||
}
|
}
|
||||||
for($n = 0; $n < 4; $n++) {
|
for($n = 0; $n < 4; $n++) {
|
||||||
for($n2 = $n; $n2 < 16; $n2 += 4) {
|
for($n2 = $n; $n2 < 16; $n2 += 4) {
|
||||||
$str = "core_" . $n2;
|
$str = "core" . $n2;
|
||||||
if($lmsens->{list}->{$str}) {
|
if($lmsens->{list}->{$str}) {
|
||||||
$str = sprintf("Core %2d", $n2);
|
$str = sprintf("Core %2d", $n2);
|
||||||
push(@tmp, "LINE2:core_$n2" . $LC[$n2] . ":$str\\g");
|
push(@tmp, "LINE2:core_$n2" . $LC[$n2] . ":$str\\g");
|
||||||
|
|
Loading…
Reference in New Issue