mirror of https://github.com/mikaku/Monitorix.git
fixed to show hidden colors of some values in the Icecast graph. #108
This commit is contained in:
parent
ee0cd48a20
commit
afe24ca480
|
@ -418,10 +418,12 @@ sub icecast_cgi {
|
||||||
push(@tmp, "GPRINT:ice" . $e . "_mp$n" . ":MAX: Max\\:%4.0lf\\n");
|
push(@tmp, "GPRINT:ice" . $e . "_mp$n" . ":MAX: Max\\:%4.0lf\\n");
|
||||||
$n++;
|
$n++;
|
||||||
}
|
}
|
||||||
|
$n = 0;
|
||||||
if(lc($icecast->{graph_mode}) ne "s") {
|
if(lc($icecast->{graph_mode}) ne "s") {
|
||||||
foreach my $i (split(',', $icecast->{desc}->{$url})) {
|
foreach my $i (split(',', $icecast->{desc}->{$url})) {
|
||||||
push(@tmp, "LINE2:ice" . $e . "_mp$n" . $LC[$n]);
|
push(@tmp, "LINE2:ice" . $e . "_mp$n" . $LC[$n]);
|
||||||
push(@tmpz, "LINE2:ice" . $e . "_mp$n" . $LC[$n]);
|
push(@tmpz, "LINE2:ice" . $e . "_mp$n" . $LC[$n]);
|
||||||
|
$n++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue