Bonded/teamed interfaces not graphed correctly for lin & win

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
maxw
Posts: 8
Joined: Fri May 28, 2010 4:59 am

Bonded/teamed interfaces not graphed correctly for lin & win

Post by maxw »

Hi,
I have a problem where bonded (Linux) or teamed (windows) interfaces are not graphed correctly. They do not show the full utilisation of the interface, only a fraction. I've seen this reported here too but no answer. I will show an example for Linux and Windows.....

Windows
Actual interface bandwidth:
Image

Cacti shows:
Image

Linux
Actual interface bandwidth:
Image

Cacti shows:
Image

Has anyone else had and fixed this issue? If you need any output from snmpwalk etc let me know!
maxw
Posts: 8
Joined: Fri May 28, 2010 4:59 am

Re: Bonded/teamed interfaces not graphed correctly for lin &

Post by maxw »

And here is what it looks like in the "create graph" screen....


Linux:
Image

Windows:
Image
Phrank
Posts: 2
Joined: Wed Dec 15, 2010 6:04 am

Re: Bonded/teamed interfaces not graphed correctly for lin &

Post by Phrank »

I'm facing the same problem. Did your fine a solution to this?
maxw
Posts: 8
Joined: Fri May 28, 2010 4:59 am

Re: Bonded/teamed interfaces not graphed correctly for lin &

Post by maxw »

Phrank wrote:I'm facing the same problem. Did your fine a solution to this?
Nope :cry:
I don't understand why more people haven't hit this problem as most production environments use interface bonding/trunking/teaming!
I'm using cacti 0.8.7g, Net-SNMP 5.3.2.2, PHP 5.3.3 and spine on RHEL 5.5 x86_64.
wriley
Posts: 16
Joined: Fri May 19, 2006 1:17 pm
Location: Lake St Louis, MO USA
Contact:

Re: Bonded/teamed interfaces not graphed correctly for lin &

Post by wriley »

I know this is an old thread but I ran across it while looking into the same issue. What I have found is the problem lies with how SNMP reports link speed for bonded interfaces on Linux. The Linux bonding driver does not report speed so SNMP defaults to an incorrect speed. In my case 2 bonded 1G interfaces (bond0) reports a link speed of 100M and the graphs break once the traffic goes over 100M speed. Here is a RedHat bug with more detail: https://bugzilla.redhat.com/show_bug.cgi?id=704575
William Riley
http://workbench.freetcp.com/
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Bonded/teamed interfaces not graphed correctly for lin &

Post by TheWitness »

Yea, you definitely have to modify the max values in the RRDfiles, and you also have to make sure you are using 64bit counters, which might require Net-SNMP's agent on Windows since Microsoft does not support 64bit counters on either their 32bit or 64bit OS'.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
mhx
Posts: 3
Joined: Mon Mar 22, 2010 10:54 am

Re: Bonded/teamed interfaces not graphed correctly for lin &

Post by mhx »

edit your snmpd.conf and add

interface bond0 6 1000000000
interface bond1 6 1000000000

works on linux
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests