[mrtg] Re: values out of range (in GB) for Cable modem link

Alex van den Bogaerdt alex at ergens.op.het.net
Wed Jun 18 02:39:07 MEST 2003

On Tue, Jun 17, 2003 at 07:39:05PM -0400, Jer wrote:

> Max  In: 34.4 Gb/s (34359738.4%) Average  In: 34.3 Gb/s (34344849.2%) 
> Current  In: 28.4 Gb/s (28404054.5%)
> Max  Out: 0.0 b/s (0.0%) Average  Out: -37021620885907841024.0 b/s 
> (-37021620885907840.0%) Current  Out: -30617807648998375424.0 b/s 
> (-30617807648998376.0%)


> my config file is
> WorkDir: /home/monitor/web/mrtg
> #RunAsDaemon: Yes
> Options[_]: growright, bits
> MaxBytes[_]: 12500
> PageTop[_]: <H1>Traffic Analysis</H1>
> Title[_]: Traffic Analysis
>   <TABLE>
>     <TR><TD>System:</TD>     <TD>1413 Ida</TD></TR>
>     <TR><TD>Maintainer:</TD> <TD>jeremy at multihaven.org</TD></TR>
>     <TR><TD>Ip:</TD>         <TD>Not set</TD></TR>
>   </TABLE>
> Target[data]: `/bin/traffic data`

Is this your entire config file?  If so: no problem.  If it is not: you
are using DEFAULTS which will be discarded when an entry such as
"MaxBytes[data]: 123456789" is present.

Then there seems to be an issue with an extremely low number.  It uses
more than 64 bits...  this cannot be right.

When this happens, what are the first few lines of your MRTG log file?

> border# /bin/traffic data
> 13455
> 10775
> Uptime not known
> Data.MultiHaven.org
> what gives???

This time it looks OK.  Try appending the output to a file as
well as to stdout.  You'd then have a log of what numbers are
fed to MRTG which it does not seem to handle very well.

Perhaps the script fails from time to time, returning strange
output (not numbers) in the first two lines.

Garbage in = garbage out.

Much of what looks like rudeness in hacker circles is not intended to give
offence. Rather, it's the product of the direct, cut-through-the-bullshit
communications style that is natural to people who are more concerned about
solving problems than making others feel warm and fuzzy.


Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the mrtg mailing list