On Fri, 6 Jul 2001 at 21:59, Federico Sevilla III wrote:
> I'm downloading the MandrakeFreq ISOs right now, and I noticed that
> the reports of MRTG and saddeningly low (Current In: 536.0 B/s, Out:
> 1183.0 B/s). So I fire up iptraf and watch eth0 (which is the
> interface connected to the DSL bridge). Iptraf's reports look more
> real. Stable incoming rate of 342.6kbps. That's 42.825kBps! Hmm...

As I always do, I stopped crying, read the documentation of MRTG, and then
read it again and again and again and again and ... guess what I found:

1. In the /etc/mrtg.cfg, following the sample provided, I defined a
MaxBytes value based on 256kbps / 8 * 1000. This would have been correct
EXCEPT that as evident I exceed this rating. I found out about the AbsMax
setting and set this to the theoretical maximum of the LAN card.

2. I prefer using 1024 instead of 1000 (so instead of Kilobytes I'm
technically reporting Kibibytes) so I use a MaxBytes setting of 32768 and
a AbsMax setting of 1310720 and a kilo setting of 1024.

[OFF-TOPIC: What IS the telco standard when converting Kbps -> bps? KBps
-> Bps will follow easily from this. Ang gulo kasi nung 1000 vs 1024 eh.]

3. I retain all my other settings.

Now my MRTG reports are pretty close to the kbytes/sec values of
iptraf:

Current In:  41.9 kB/s  (130.8%)
Current Out: 1031.0 B/s (3.1%) 

Whee!!!

What's more, the graphs are cute. I get a horizontal line with my
theoretical maximum, and from there the graph goes up to show me how good
the transfer's going. :)

[BTW Ian: if your perl script can do away with snmp and can still achieve
similar results with mrtg then my offer holds to exchange any single CD
you want _at cost_ (not free, sorry) for that.]

 --> Jijo

--
Federico Sevilla III  :: [EMAIL PROTECTED]
Network Administrator :: The Leather Collection, Inc.

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to