[mrtg] > 120 Mbit/s bandwidths?

Heikki Hannikainen hessu at hes.iki.fi
Thu Jan 20 13:15:50 MET 2000


  MRTG seems to wrap around at somewhere around 110-115 Mbit/s bandwidths
on switch and router interfaces et al. Guess some operation or variable
wraps over in rateup. Doesn't work for gigabit ethernet or fast ATM links.
Has anyone figured this out yet or shall I go through it with gdb myself?
How about RRD, where is it limited?

  You can simulate the traffic with the following dummy poller script.

Target[foo]: `/path/sim.pl 115000000`

#!/opt/local/bin/perl
# sim.pl <bits-per-second>

my($bytessec) = int(@ARGV[0] / 8);
my($maxint) = 2**32 - 1;

my($i) = $bytessec * time();
while ($i > $maxint) {
        $i -= $maxint;
}
print "$i\n$i\nfoo\nbar\n";

  - Hessu


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mrtg-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/mrtg



More information about the mrtg mailing list