ifDescr's with spaces in the name (Force10)

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

Moderators: Developers, Moderators

Post Reply
fatbox
Posts: 2
Joined: Wed Feb 17, 2010 6:26 pm
Location: Toronto, Canada

ifDescr's with spaces in the name (Force10)

Post by fatbox »

Hi,

I'm trying to get my Force10 switch to display the full ifDescr in the graph title.

My guess is that it's a problem because ifDescr contains a space in the name. On a Cisco it's Gi0/1, on linux eth0, but with Force10 it's "GigabitEthernet 0/1".

If I run a verbose query on "SNMP - Interface Statistics" I get:

Code: Select all

+ Located input field 'ifDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.2'
+ Found item [ifDescr='GigabitEthernet 0/1'] index: 34128388 [from value]
+ Found item [ifDescr='GigabitEthernet 0/2'] index: 34390532 [from value]
+ Found item [ifDescr='GigabitEthernet 0/3'] index: 34652676 [from value]
...
If I goto Create Graphs for this Host I do see the correct value (GigabitEthernet 0/1) listed for both Description and Name (IF-MIB).

However, when I actually create a graph I get

Code: Select all

+ Created graph: YYZ1 CS1 - Traffic - GigabitEthernet
And the graph title doesn't have the actual interface.

I've tried everything I can think of for a graph template name; ifAlias, ifName, ifDescription, ifIndex. None of them give me the full interface name.

I tried searching through the forums but none of the suggestions worked for me. Even the great Force10 templates do not help, and another user who posted caps of his Force10 graphs is suffering from the same thing (first graph image).

Has anyone run into this before? Am I correct in assuming that the space in the name is the culprit?

For reference, it's two S25N's stacked and it's running FTOS, which is pretty much a copy of the Cisco IOS interface.

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

Post by TheWitness »

Could be a Setting in Console->Settings->Visual

There are two of importance. The maximum graph title length and the max data query item length.

You should:

1) Increase both
2) Reindex the device
3) Reapply suggested names.

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?
fatbox
Posts: 2
Joined: Wed Feb 17, 2010 6:26 pm
Location: Toronto, Canada

Post by fatbox »

TheWitness wrote:max data query item length
Duh... how did I miss that.

Thanks. :)
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests