projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
4957543
)
fix in and out
author
minima
<minima>
Mon, 30 Sep 2002 00:12:32 +0000
(
00:12
+0000)
committer
minima
<minima>
Mon, 30 Sep 2002 00:12:32 +0000
(
00:12
+0000)
cmd/mrtg.pl
patch
|
blob
|
history
diff --git
a/cmd/mrtg.pl
b/cmd/mrtg.pl
index b8a28b76953b9f6acf341d5249fddd043d92af75..d1e3582bced0d90202cc2981c1f3c4d8046585e9 100644
(file)
--- 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;
# 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;
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',
# 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;
}
$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, '<font color=#00cc00>HF</font> and <font color=#0000ff>VHF+</font> Spots',
# do the HF and VHF spots
if ($want{hfvhf} || $want{all}) {
$mc->cfgprint('hfspots', [qw(unknaszero gauge)], 1000, '<font color=#00cc00>HF</font> and <font color=#0000ff>VHF+</font> 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;
}
$mc->data('hfspots', $Spot::hfspots, $Spot::vhfspots, 'HF and VHF+ Spots') unless $want{cfgonly};
$Spot::hfspots = $Spot::vhfspots = 0;
}