Name (IF-MIB) and Alias (IF-MIB) not found on a device

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

Moderators: Developers, Moderators

Post Reply
EricTheGreat
Posts: 10
Joined: Thu Mar 26, 2020 4:12 am

Name (IF-MIB) and Alias (IF-MIB) not found on a device

Post by EricTheGreat »

Hi everyone,

I am using Cacti version 1.2.13 and have a some Alcatel switches to monitor. One switch with the same software and same hardware as other switches I got does no show "Name (IF-MIB)" and "Alias (IF-MIB)" on its snmp interface statistics (cf. pict 02 below). The content of the MIB shows that the interface OIDs are not different than those of the other switches. The problem is that graphs of this device are not displayed with the name of the interface but with the description (the only information Cacti found).

Right now I just compared 2 snmpwalks from this device and from another identical switch and values are correct (no empty data on OID).

I checked on:

1) OIDs .1.3.6.1.2.1.2.2
.1.3.6.1.2.1.2.2.1.1.1001 = INTEGER: 1001
.1.3.6.1.2.1.2.2.1.1.1002 = INTEGER: 1002
.1.3.6.1.2.1.2.2.1.1.1003 = INTEGER: 1003
...
--> data found

2) OIDs .1.3.6.1.2.1.31.1.1.1.1
.1.3.6.1.2.1.31.1.1.1.1.1001 = STRING: 1/1/1
.1.3.6.1.2.1.31.1.1.1.1.1002 = STRING: 1/1/2
.1.3.6.1.2.1.31.1.1.1.1.1003 = STRING: 1/1/3
...
--> I believe this is interface name that Cacti uses but not sure

3) OIDs .1.3.6.1.2.1.31.1.1.1.18
.1.3.6.1.2.1.31.1.1.1.18.1001 = STRING: Ve...
.1.3.6.1.2.1.31.1.1.1.18.1002 = STRING: Ve...
.1.3.6.1.2.1.31.1.1.1.18.1003 = STRING: Ve...
.1.3.6.1.2.1.31.1.1.1.18.1004 = STRING: Ve...
...
-->I added "..." at each strings; original text just include ascii text. So Aliases should be visible with Cacti.

I suspect a bug.

Any idea on how to solve that issue?
.
.
pict 01 - Other devices have "Name (IF-MIB)" and "Alias (IF-MIB)" OK
pict 01 - Other devices have "Name (IF-MIB)" and "Alias (IF-MIB)" OK
ok_dev.png (98.8 KiB) Viewed 981 times
pict 02 - This device has "Name (IF-MIB)" and "Alias (IF-MIB)" empty
pict 02 - This device has "Name (IF-MIB)" and "Alias (IF-MIB)" empty
nok_dev.png (83.31 KiB) Viewed 981 times
pict 03 - Graph is not just displaying the interface name (but some descriptions)
pict 03 - Graph is not just displaying the interface name (but some descriptions)
nok_graph.png (28.7 KiB) Viewed 981 times
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Name (IF-MIB) and Alias (IF-MIB) not found on a device

Post by cigamit »

Console >> Data Collection >> Data Queries >> SNMP - Interface Statistics >> Click on a "Associated Graph Templates" like "In/Out Bits (64-bit Counters)"

Then you can either reorder the "Suggested Values - Graphs" if the exact variable combination exists, or you can add a new one.
EricTheGreat
Posts: 10
Joined: Thu Mar 26, 2020 4:12 am

Re: Name (IF-MIB) and Alias (IF-MIB) not found on a device

Post by EricTheGreat »

cigamit wrote: Wed Sep 23, 2020 8:36 am Console >> Data Collection >> Data Queries >> SNMP - Interface Statistics >> Click on a "Associated Graph Templates" like "In/Out Bits (64-bit Counters)"

Then you can either reorder the "Suggested Values - Graphs" if the exact variable combination exists, or you can add a new one.
Hi cigamit.

And thanks for your help.

If the name of the interface is not found by Cacti - even though this information is accessible on the MIB - and if I want to display that name I think that the problem is during SNMP data gathering process by Cacti. Other graphs are using "|host_description| - Traffic - |query_ifName|" and since "query_ifName" is empty the graphs show "|host_description| - Traffic - |query_ifDescr|/|query_ifIndex|" on the device with a problem.

But I gave a try to your suggestion in case one value not displayed could make the interface name displayed on graphs. I did not make appear any new value amongst those available. However I added a new suggested value "|host_description| - Traffic - |query_ifDescr|" and placed it before the one chosen by Cacti. I reapply the suggested names on the graphs to get the new values. But still this is not the name of the interfaces that is displayed on the graphs.

I do not know if there is a debug process to check how Cacti can find interface name. When I use the yellow arrow on the "Associated Data Queries" on a device I can see there is an "ifName" for all my devices. But it is not the right parameter to check since Cacti does not display all the device interface name with this technique whether is it about the device with problem or all the other devices.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests