Package: snmpd
Version: 5.7.2.1+dfsg-1

I'm using MRTG to do some simple monitoring (including network devices) of my 
Debian-based servers.

The interfaces are identified by name (e.g. eth0, eth1,...), and MRTG maps 
these names to the proper OIDs by looking them up in IF-MIB::ifDescr:

                $ snmpwalk -Os -c public -v 1 wheezy 1.3.6.1.2.1.2.2.1.2
                    IF-MIB::ifDescr.1 = STRING: lo
                    IF-MIB::ifDescr.2 = STRING: eth0


Everything worked cool until I setup on my machine to Debian GNU/Linux 8.8 
(jessie) . And now the reported interface names are a long description (Device 
1af4:0001) of the brand:

$ snmpwalk -Os -c public -v 1 jessie 1.3.6.1.2.1.2.2.1.2
                IF-MIB::ifDescr.1 = STRING: lo
                IF-MIB::ifDescr.2 = STRING: Device 1af4:0001

While I find the long name(Device 1af4:0001) annoying enough, it becomes 
useless as it is no longer use in MRTG scripts.

Is there a way to make snmpd report the short interface names(eth0)?

Reply via email to