[mrtg] Re: Packet vs. byte: Accurate results?

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Tue Dec 11 11:34:44 MET 2001


John Oliver wrote:

> Looking at the raw SNMP data, it looks like MRTG is getting results in
> "octets" instead of bytes...

That shouldn't be different on most machines.  Are there still hosts
around where a byte is not 8 bits?

Even then, it would only matter if you count bits by multiplying
the counters by 8 (or 12, or whatever other appropriate value).

> interfaces.ifTable.ifEntry.ifInOctets.3 = 1200751471
> interfaces.ifTable.ifEntry.ifOutOctets.3 = 1738091790

These should be counting bytes as expected (on this hardware).

> So, it seems that the data that MRTG collects, at least for 2.2.X Linux
> hosts, is incorrect, unless I'm missing something.

If it is wrong at all:
The data that MRTG collects is wrong, not the way MRTG collects its data.

In the past there was a packets vs. bytes problem.  This had nothing to
do with the size of a byte vs. the size of an octet.  It had everything
to do with guessing the amount of bytes by multiplying the amount of
packets and an estimated average number of bytes per packet.

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