fixed to show the correct uptime in additional Wowza servers

This commit is contained in:
Jordi Sanfeliu 2015-07-23 11:05:16 +02:00
parent 309c800b75
commit 4777e70700
1 changed files with 1 additions and 1 deletions

View File

@ -573,7 +573,7 @@ sub wowza_cgi {
"AVERAGE",
"-r 60");
my $line = @$data[0];
my ($uptime) = @$line;
my ($uptime) = @$line[$e * 130];
my $uptimeline;
if($RRDs::VERSION > 1.2) {
$uptimeline = "COMMENT:uptime\\: " . uptime2str($uptime) . "\\c";