[mrtg] Re: Update: monitoring traffic in & out of Linux box
tony at vegan.net
Mon Nov 6 00:17:57 MET 2000
what kernel are you using?
and have you tried just using cfgmaker on the Linux box instead of using
a config template? Cfgmaker has always wworked for me in a Linux box.
On Sun, 5 Nov 2000, Leigh Orf wrote:
> First of all thanks to those who responded to my query about monitoring
> traffic in & out of a Linux box. I was succesful in finding the port on
> the switch which handles my machine's traffic. I also managed to get
> snmpd to give me access to the interfaces.ifTable.ifEntry.ifOutOctets.2
> directive which mrtg uses to determine outgoing bandwidth on eth0.
> However, the value which that directive is returning is roughly 6 times
> smaller than what is being seen at the switch. The switch is returning
> the correct values. I am running an FTP server with a per-user 20 kB/s
> download bandwidth cap times about 20 users. I have mrtg running on the
> switch and on eth0 on my Linux machine. To view both, see
> http://orf.cx/mrtg/220.127.116.11.3.html (the switch port)
> http://orf.cx/mrtg/dryas.atms.unca.edu.html (eth0)
> (Note the flip-flop in incoming/ougoing which occurred at 16:00 was
> my putting a hyphen before the Target directive since I was on the
> "wrong side" of the switch). Using snmpget, I monitored the value of
> interfaces.ifTable.ifEntry.ifOutOctets.2 for my Linux box in a one
> minute interval and calculated the alleged outgoing bandwidth dividing
> the difference by 60, and MRTG is faithfully reporting the alleged
> bandwidth at eth0 from the returned values. So it appears for whatever
> reason snmpd is returning a number which isn't representative of the
> actual outgoing (and incoming) bandwidth. The values seems to
> be off by a factor of about 6.
> Any clues??
> Leigh Orf
> 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
-------------- -- ---- ---- --- - - - - - -- - - - - - -
Tony Bourke tony at vegan.net
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
More information about the mrtg