Re: Questions about interface traffic statistics
Tom Bilan <[email protected]> Thu, 20 Feb 2014 13:36:48 -0500
| Newsgroups | gmane.network.cacti.user |
|---|---|
| Message-ID | <CAEygVVZOmGi+a72T5jNn5L8RuXbB4bdoaD78iXKzPm8ko5OPNg@mail.gmail.com> |
You need to use the 64 bit counter. The number of bits you're transferring is exceeding the capacity of the 32 bit counter and it's rolling over before your 5 minute poll. I use 64 bit for any interface over 100Mb. Actually, I use it for everything because there's no downside for devices that report back for ifHCInOctets and ifHCOutOctets. Tom On Thu, Feb 20, 2014 at 4:05 AM, Stephan Seitz < [email protected]> wrote: > Hi! > > I'm using cacti 0.8.8a together with Debian 7 and have some questions > concerning interface traffic statistics. > > The poller runs every five minutes. The system has two gigabit network > interfaces configured as bonding device. Via SNMP I'm polling bond0 > together with the two physical interfaces using "In/Out Bytes with Total > Bandwidth". > > Now I notice that the numbers in cacti are much lower than compared with > the ifconfig output. And the total values of bond0 are not the sum of the > physical interfaces. > E.g. choosing a time range of 16 hours the cacti values are: > - bond0: total in: 79GB, total out: 123GB > - eth0: total in: 36MB, total out: 167GB > - eth1: total in: 120GB, total out: 15MB > > Calculating the traffic with the help of the ifconfig output I'll get: > - bond0: total in: 376GB, total out: 424GB > - eth0: total in: 34MB, total out: 424GB > - eth1: total in: 376GB, total out: 14MB > > So something is wrong. There is the possibility to chose "In/Out Bytes > (64bit counter)", but then I don't have the total bandwidth values. Could > this be a counter problem? > > Shade and sweet water! > > Stephan > > -- > | Stephan Seitz E-Mail: [email protected] | > | Public Keys: http://fsing.rootsland.net/~stse/keys.html | > > > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > > http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk > _______________________________________________ > cacti-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cacti-user > > ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk