Problems accurately graphing gigabit interfaces

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

Moderators: Developers, Moderators

User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Gandalf,

I guess I should release scanner :( It would make this very much easier.

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?
rock
Posts: 9
Joined: Fri Nov 13, 2009 5:08 pm

Post by rock »

Is there an ETA? I really want to avoid going through almost 600 interfaces and changing them manually :)

Thanks, Rock
TheWitness wrote:Gandalf,

I guess I should release scanner :( It would make this very much easier.

TheWitness
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

It would be easier to write a simple script to do it. Scanner is a beast of a plugin.

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?
User avatar
ARC1450
Cacti User
Posts: 104
Joined: Wed Jun 24, 2009 9:42 am

Post by ARC1450 »

Maybe someone can help me understand why 64-bit counters are needed for 1Gb interfaces as I'm not really understanding.

2 to the power of 32 is 4 billion, so why don't some people get the proper graphs with 32 bit counters?

That said, I have 32 bit counters on all my Gb interfaces and regularly see traffic spikes over 200Mb.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

ARC1450 wrote:Maybe someone can help me understand why 64-bit counters are needed for 1Gb interfaces as I'm not really understanding.

2 to the power of 32 is 4 billion, so why don't some people get the proper graphs with 32 bit counters?

That said, I have 32 bit counters on all my Gb interfaces and regularly see traffic spikes over 200Mb.
Traffic is calculated by looking at the difference between the traffic counters now, and last time you looked. The counter wraps around when it gets to 2^32. So if you come back after five minutes, and the counter is lower than it was before (and the uptime hasn't gotten lower too), you can only assume that it has wrapped around. If it has wrapped around twice, you have no way to tell.

The counters will wrap around fully after 4GB is transferred (2^32 bytes), so you can't tell if more than that is transferred.

In 5 minutes, 4GB transferred works out to be about 114Mbit/sec.

By using 64-bit counters, the bytes-to-wrap is much much larger. Alternatively, you can get a bit more headroom by polling more often (but still not 1Gbit/sec).
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
User avatar
ARC1450
Cacti User
Posts: 104
Joined: Wed Jun 24, 2009 9:42 am

Post by ARC1450 »

Ahh!

So the reason I'm not seeing much issue is because I'm polling once a minute then, eh?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

ARC1450 wrote:Ahh!

So the reason I'm not seeing much issue is because I'm polling once a minute then, eh?
Yep - that would do it :-) Your limit should be somewhere around 550Mbit/sec.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
User avatar
ARC1450
Cacti User
Posts: 104
Joined: Wed Jun 24, 2009 9:42 am

Post by ARC1450 »

Ahhh, thanks dude!

I appreciate the clarification. :)
kendirangu
Posts: 5
Joined: Fri Jul 18, 2008 5:14 pm
Contact:

Post by kendirangu »

TheWitness wrote:1) You will need to adjust your Max Value in the Data Templates for Interfaces.
2) You will need to utilize SNMP v2/v3
3) You need to select one of the 64bit counter graphs in Cacti. When creating graphs, you will see them on the drop down.

TheWitness
Where do i find the 64bit counter graphs ? I'm using 0.8.7b are the graph templates labelled 64bits ? I have been using the typical Interface - Traffic (bits/sec) template.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

kendirangu wrote:Where do i find the 64bit counter graphs?
Create Graphs
kendirangu wrote:I'm using 0.8.7b are the graph templates labelled 64bits ?
Not unless you alter the template

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?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

You could follow along the fun with
How can I tell if a graph is using 64-bit counters? too... it's not that simple to find the graphs that need fixing :-?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

:oops: :oops:
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?
ronnyg
Posts: 1
Joined: Wed Dec 17, 2014 12:03 pm

Re: Problems accurately graphing gigabit interfaces

Post by ronnyg »

Hi all. Just installed Cacti 0.8.8b and got some difficulties with gigabit ports on ProCurve 1800 (1810) switches and Server NICs. As people said above, graph only goes up to 114Mbit.
SNMP version is 2.0
Graph Template is default Interface - Traffic (bits/sec) 64bit Counters
Data Template is default Interface - Traffic with Max Value set to U

ProCurve 1810 even doesnt show any datas in graphs while 1800 showing the same 114Mbit

P.S. Plugin Realtime shows correct values!!! I think its because of different poller used or smth...

Please, help me to resolve this issue.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests