IF Description always returns XMIB2_NAME_STR (0.8.5)

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

Moderators: Developers, Moderators

Post Reply
RaMe

IF Description always returns XMIB2_NAME_STR (0.8.5)

Post by RaMe »

Hello,

I have a problem with some of my devices. If I create the interface statistics (via generic snmp) for some devices, all graphs are labeled "<devicename> - Traffic - XMIB2_NAME_STR" and this regardless wether I choose "ifIndex", "ifDescr" or "ifName"...

The devices all are Enterasys Matrix E5 switches, some are showing the correct header (after choosing "ifDescr"), e.g. "<devicename> - Traffic - et. 2.1" for port 1 on panel 2.

If I do a "snmpwalk -Os -c public -v 1 <device-ip> | grep ifDescr" I get the correct descriptions, e.g. "ifDescr.27 = STRING: Fast Ethernet Frontpanel port 27", and this is true for all devices.

What is going wrong here? Is it possible that this problem occurs because of different firmware releases?

Regards from germany
Ralf
RaMe

Re: IF Description always returns XMIB2_NAME_STR (0.8.5)

Post by RaMe »

Hmm, now completely confused...

Taking a look at the data query table "provided by cacti after doing a "create graphs for this host":

The column "ifIndex" is a simple integer. OK.
The column "Description" shows the description, which can be found via "snmpwalk" or other SNMP-Utils. This is the field which mrtg used to label my graphs (In the moment, I am changing from mrtg/rrdtool to cacti).
The column "Name (IF-MIB)" shows either "XMIB2_NAME_STR" (this for the devices which are causing my problems) for *all* interfaces or an appropriate descriptive string (for the hosts which are ok), different for each interface, which cacti uses for labeling the graphs. Where are these strings stored?
And why does cacti *not* use the string provided by the snmp field "ifDesc" if I choose exactly this at the moment of graph creation?

Bye
Ralf
RaMe
Posts: 1
Joined: Wed Feb 25, 2004 4:25 am

Re: IF Description always returns XMIB2_NAME_STR (0.8.5)

Post by RaMe »

Jepp,

I have found the error. The behaviour is caused by the firmware. All switches (Matrix E5 Enterasys) with a version less then 03.00.22 return "XMIB2_NAME_STR" for the column which is diplayed with the header "Name (IF-MIB)" in cacti. Applying the above firmware leads to descriptive strings like "fe 1.1" (for "Fast Ethernet Port 1 Module 1").

But one question is still there:

Why does cacti not use the description which is available in the column "description" in the graphs (as mrtg does)?

Is it possible to change this? And if yes, how?

Regards
RaMe
--
RaMe
Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests