10 Gigabit Ethernet shows as speed 4294967295

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

Moderators: Developers, Moderators

evilzardoz
Cacti User
Posts: 55
Joined: Sun Dec 04, 2005 10:59 pm

10 Gigabit Ethernet shows as speed 4294967295

Post by evilzardoz »

Hi,

We've upgraded some of our core network to 10GE ports (Cisco 4 port 10GE blade, 6500 switches, 12.2(18)SXF) and cacti now thinks that the max port speed is 4294967295 bits per second.

Is this hitting some limit - and if so, can we overcome it?

Thanks
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

No own experience on this. But latest cacti 0.8.6i includes some patch for wrong ifSpeed, please see bugs list of the announcement
Reinhard
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Are you using 32-bit (SNMPv1) or 64-bit (SNMPv2) counters on those interfaces?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
evilzardoz
Cacti User
Posts: 55
Joined: Sun Dec 04, 2005 10:59 pm

Post by evilzardoz »

SNMPv2 with 64-bit counters is what we're using.

Has anybody else here been able to monitor 10GE interfaces?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Can you walk the ifInterfaces using a command line tool and post your output?

snmpwalk -c <your_community> -v 2c <your_hostname> .1.3.6.1.2.1.2.2.1

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
egarnel
Cacti Pro User
Posts: 708
Joined: Thu Nov 21, 2002 8:55 am
Location: Austin, TX

Post by egarnel »

Sorry to jump into this thread, but we are seeing the same thing

from the walk:
IF-MIB::ifSpeed.293 = Gauge32: 4294967295
IF-MIB::ifSpeed.294 = Gauge32: 4294967295
IF-MIB::ifDescr.294 = STRING: TenGigabitEthernet6/1
IF-MIB::ifDescr.295 = STRING: TenGigabitEthernet6/2
IF-MIB::ifDescr.296 = STRING: TenGigabitEthernet6/3
IF-MIB::ifDescr.297 = STRING: TenGigabitEthernet6/4


snmpwalk -c mysnmpstring_notreally -v 2c shownet1 system
SNMPv2-MIB::sysDescr.0 = STRING: Cisco Internetwork Operating System Software
IOS (tm) s72033_rp Software (s72033_rp-PSV-M), Version 12.2(18)SXD6, RELEASE SOFTWARE (fc1)
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

So, the issue is your agent not Cacti. It can not return more than 4GBytes. I think that this is less than 2**64 but maybe the Cisco(??) compiler does not support larger than 2**? bit integers.

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
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Now that offically falls in the Monday Funk category... :o
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
egarnel
Cacti Pro User
Posts: 708
Joined: Thu Nov 21, 2002 8:55 am
Location: Austin, TX

Post by egarnel »

I opened a TAC with Cisco to find out why it caps at 4 Gb. They will probably tell me to upgrade :wink:
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

egarnel wrote:I opened a TAC with Cisco to find out why it caps at 4 Gb. They will probably tell me to upgrade :wink:
I can confirm that they will most likely tell you to upgrade.. :lol:
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
egarnel
Cacti Pro User
Posts: 708
Joined: Thu Nov 21, 2002 8:55 am
Location: Austin, TX

Post by egarnel »

Here is what I got from TAC
ifSpeed was defined in the RFC when the highest speed of an interface was 16 Mbps and so, the SYNTAX for this is a 32 bit integer, whose maximum value can be 2 ^32 which is 4294967295.

To find out the ifSpeed equivalent for TenGig interfaces, here is what you can do:
.1.3.6.1.2.1.31.1.1.1.15
ifHighSpeed OBJECT-TYPE
-- FROM IF-MIB
SYNTAX Gauge
MAX-ACCESS read-only
STATUS Current
DESCRIPTION "An estimate of the interface's current bandwidth in
units of 1,000,000 bits per second. If this object
reports a value of `n' then the speed of the interface
is somewhere in the range of `n-500,000' to
`n+499,999'.

For interfaces which do not vary in
bandwidth or for those where no accurate estimation
can be made, this object should contain the nominal
bandwidth. For a sub-layer which has no concept of
bandwidth, this object should be zero."
the walk kicks back the following (truncated)

10 gig int IF-MIB::ifHighSpeed.294 = Gauge32: 10000

1 gig int IF-MIB::ifHighSpeed.81 = Gauge32: 1000

if eth int IF-MIB::ifHighSpeed.97 = Gauge32: 100
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Can you please open a feature request in Mantis. This could be quite interesting. Also, please attach the documentation that you have attached here.

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
egarnel
Cacti Pro User
Posts: 708
Joined: Thu Nov 21, 2002 8:55 am
Location: Austin, TX

Post by egarnel »

10-4. I will do it in the am
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
evilzardoz
Cacti User
Posts: 55
Joined: Sun Dec 04, 2005 10:59 pm

Post by evilzardoz »

Looks like I really opened a can of worms on this one!

What do I do to cacti to use the ifHighSpeed value? (or is that not possible without said feature addition?)

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

Post by TheWitness »

Well, the first part is pretty strait forward, the XML file needs to be updated to gather it in. The second part is more complicated. We, either set the max value in the rrdfile automatically, or we manually hammer it in. Therefore, that algorythm needs to be updated to fix things up with interfaces that have a very high speed.

It's definately a patch.

In the mean time, if you think you will drive your interfaces above 4.2Gbit's, you can simply tune those RRDfiles to increase the Maximum value a bit.

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests