X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=munin%2Fcubemap;fp=munin%2Fcubemap;h=b2929823ea5b08bcb8427cfec1e040bb009859d4;hp=8079d6e4d750b86e92ed8f595a535046b76d5503;hb=8fac32c4f3fde7bd2e0305dabe665187a14c1a1b;hpb=c40f564da8252a344be0de5c5e1b29a8d5d9aff6 diff --git a/munin/cubemap b/munin/cubemap index 8079d6e..b292982 100755 --- a/munin/cubemap +++ b/munin/cubemap @@ -46,6 +46,7 @@ while (<$stats>) { chomp; my ($ip, $fd, $mark, $stream, $connected_time, $bytes_sent, $loss_bytes, $loss_events) = /^(\S+) (\d+) (\d+) (\S+) (\d+) (\d+) (\d+) (\d+)/ or die "Invalid stats format"; + $stream =~ s/\?frag=.*//; ++$streams{$stream}; ++$total; }