[mrtg] Re: How Do They Do It ??
Boucher,Andre [CMC]
Andre.Boucher at ec.gc.ca
Fri Aug 13 14:04:46 MEST 1999
Hi,
The information collected if collected through the ifInOctets Mib. This mib
gives the amount of traffic on an interface in Octets per second, or if you
prefer, Bytes per second. Then, by doing Bytes * 8, you get the amount of
traffic in bits per second.
André Boucher
-----Original Message-----
From: Javier Tan [mailto:javier_tan at hotmail.com]
Sent: 1999/08/12 21:07
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] How Do They Do It ??
Hi all,
I've been using MRTG for months now, but I have not really figured out how
it converts data into the correct units that you what it to display.
Let me run you through here........For example,if I'm running several ATM
switches and I want MRTG to graph & display it in bits. I just have to
specify the parameter in the "Options[_]:"( as mentioned in the config.txt
that comes together with MRTG ). But How does it do the job of converting
the "Octets" or even "Cells" which is in the case of ATM ??
Since 1 cell= 53 Bytes, I would presume that it does this :
( P = Amount of traffic on the switch in "Cells" )
Traffic in bits = P x 53 x 8
I'm a greenie to PERL, so that explains why I can't figure out the part of
the Code which does the conversion.
Hope you guys could enlighten me on this.
Please pardon my ignorance.
Thanks a Million !!!
Regards,
Javier Tan
Network Support Team
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
--
* To unsubscribe from the mrtg mailing list, send a message with the
subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
--
* To unsubscribe from the mrtg mailing list, send a message with the
subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
More information about the mrtg
mailing list