[mrtg] Re: Graph Statistics in Mrtg

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Fri Jul 20 17:04:32 MEST 2001


Gerlak, Matthew wrote:

> Ok I am trying to monitor the current average percent of bandwith and I want to verify that my understanding of how the config file works is right.
> 
> I have a router with a 256k line going to it

Line speeds are *usually* measured in bits per second.  Also, "k"
means kilo, not kibi.  So, your line speed will probably be:
   256000 bits per second
or  32000 octets per second.

> If I have the following line in the .CFG (MaxBytes[x.x.x.x_5]: 256000)

MaxBytes should be the number of bytes (octets) per second so if above
numbers are correct, you should put 32000 in there, not 256000.

> And I add the following to the options (Options[_]: dorelpercent)

You didn't specify "bits" so all speeds are shown in bytes, this is
what you want.

> I should get a graph that the daily section should say bytes per second and should go up to 256.0k on the left of the graft and I should also get a second orange colored line on the graph that does a percent total of the in and out. And everything on the graph should be in kb not bits.
> 
> Right?

Please talk the right language here.  "kb" is commonly known to be
"kilobits" and this is "1000 bits".  From the context I know you mean
bytes however this is usually written as "B".
So: your line speed is 32kBps or 256kbps.

And while you are changing, please keep the length of your lines
below 72 chars when writing an email.  You're on the internet, not
on your local lan. Thanks.

-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

--
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