diff --git a/lib/wowza.pm b/lib/wowza.pm index 17b97be..14c5287 100644 --- a/lib/wowza.pm +++ b/lib/wowza.pm @@ -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";