From: minima Date: Mon, 30 Sep 2002 00:12:32 +0000 (+0000) Subject: fix in and out X-Git-Tag: PRE-1-52~168 X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=918f121e1b436b97a8e8f85fe7c8c1f62fe0e533;p=spider.git fix in and out --- diff --git a/cmd/mrtg.pl b/cmd/mrtg.pl index b8a28b76..d1e3582b 100644 --- a/cmd/mrtg.pl +++ b/cmd/mrtg.pl @@ -40,7 +40,7 @@ my $mc = new Mrtg or return (1, "cannot initialise Mrtg $!"); # do Data in / out totals my $din = $Msg::total_in; -my $dout = $Msg::total_in; +my $dout = $Msg::total_out; unless ($want{agw}) { $din += $AGWMsg::total_in; $dout += $AGWMsg::total_out; @@ -81,7 +81,7 @@ if ($want{totalusers} || $want{all}) { # do the total spots if ($want{totalspots} || $want{all}) { $mc->cfgprint('totalspots', [qw(unknaszero gauge noi)], 1000, 'Total Spots', - 'Spots', 'Spots', 'Spots') unless $want{dataonly}; + 'Spots / min', 'Spots', 'Spots') unless $want{dataonly}; $mc->data('totalspots', $Spot::totalspots, $Spot::totalspots, 'Total Spots') unless $want{cfgonly}; $Spot::totalspots = 0; } @@ -89,7 +89,7 @@ if ($want{totalspots} || $want{all}) { # do the HF and VHF spots if ($want{hfvhf} || $want{all}) { $mc->cfgprint('hfspots', [qw(unknaszero gauge)], 1000, 'HF and VHF+ Spots', - 'Spots', 'HF', 'VHF') unless $want{dataonly}; + 'Spots / min', 'HF', 'VHF') unless $want{dataonly}; $mc->data('hfspots', $Spot::hfspots, $Spot::vhfspots, 'HF and VHF+ Spots') unless $want{cfgonly}; $Spot::hfspots = $Spot::vhfspots = 0; }