X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fmrtg.pl;h=d1e3582bced0d90202cc2981c1f3c4d8046585e9;hb=918f121e1b436b97a8e8f85fe7c8c1f62fe0e533;hp=b8a28b76953b9f6acf341d5249fddd043d92af75;hpb=495754374538208a483b10e947ed181bfa3f2d8e;p=spider.git
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;
}