Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
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).
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.
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.