mirror of https://github.com/mikaku/Monitorix.git
fixed to show the correct uptime in additional Wowza servers
This commit is contained in:
parent
309c800b75
commit
4777e70700
|
@ -573,7 +573,7 @@ sub wowza_cgi {
|
||||||
"AVERAGE",
|
"AVERAGE",
|
||||||
"-r 60");
|
"-r 60");
|
||||||
my $line = @$data[0];
|
my $line = @$data[0];
|
||||||
my ($uptime) = @$line;
|
my ($uptime) = @$line[$e * 130];
|
||||||
my $uptimeline;
|
my $uptimeline;
|
||||||
if($RRDs::VERSION > 1.2) {
|
if($RRDs::VERSION > 1.2) {
|
||||||
$uptimeline = "COMMENT:uptime\\: " . uptime2str($uptime) . "\\c";
|
$uptimeline = "COMMENT:uptime\\: " . uptime2str($uptime) . "\\c";
|
||||||
|
|
Loading…
Reference in New Issue