[mrtg] mrtg and bonding

Dave Gavin dgavin at vcentrix.net
Thu Apr 10 15:07:30 CEST 2008


  It's a problem with the way that snmpd reports the speed on bonded
interfaces. The bondx is always set to 10M by default, but you can fix
it by adding a line to your snmpd.conf for each bonded interface:

 override ifSpeed.X uinteger 1000000000

 Replace the "X" with the interface number of the bonded interface and it
will report the speed you set as the fourth token in the line.

 Take a look at this page for more details:

  http://whocares.de/2007/12/28/speed-up-your-bonds/

Dave


On Thu, April 10, 2008 3:55 am, Steffen Knauf wrote:
> Hello!
>
> i have a problem with the Max Speed of the bond0 (mode2).
> MRTG set Max Speed 10.0 Mbits/s, although i use the option
> --zero-speed=1000000000 with cfgmaker.
> And bond0 should be the sum of eth0 and eth1 but the result of the graph
> is more less than ths sum.
> Here is the output of dmesg | grep -i bond0 :
> bonding: bond0: setting mode to balance-xor (2).
> bonding: bond0: Setting MII monitoring interval to 100.
> bonding: bond0: enslaving eth0 as an active interface with an up link.
> bonding: bond0: enslaving eth1 as an active interface with an up link.
>
> Perhaps anybody have some Ideas?
> Tanks!
>
> Steffen
>
> _______________________________________________
> mrtg mailing list
> mrtg at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
>
>


-- 
David Gavin -  Senior Systems Administrator
Vcentrix, Inc.  19 Crosby Drive Suite 200 Bedford, MA, USA 01730
email: dgavin at vcentrix.net  Tel: 617.904.5014   Fax:781.687.8882



More information about the mrtg mailing list