On Tue, 01 Dec 2015 22:54:54 +0100 Hannes Frederic Sowa <han...@stressinduktion.org> wrote:
> > On Tue, Dec 1, 2015, at 22:44, Stephen Hemminger wrote: > > On Tue, 01 Dec 2015 22:14:59 +0100 > > Hannes Frederic Sowa <han...@stressinduktion.org> wrote: > > > I had several snmp installations with net-snmp and munin, cacti and so > > > on and all had the interface name in ifDescription already some years > > > back. > > > > In net-snmp 5.7 or later ifDescr is set to result of pci_lookup_name > > (by default). > > Seems the data should simply be in ifName nowadays (unconfirmed): > <http://www.net-snmp.org/docs/mibs/ifMIBObjects.html> > > Bye, > Hannes By default ifDescr == ifName == interface name (ie eth0, enp0s1, ...) If the device is on PCI bus then result is like: IF-MIB::ifDescr.2 = STRING: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller IF-MIB::ifName.2 = STRING: enp3s0 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html