Package: mrtg Version: 2.16.3-3 Severity: normal Thanks for maintaining MRTG
squeeze cfgmaker will not use IfAlias I can reproduce the problem see in https://lists.oetiker.ch/pipermail/mrtg/2011-March/036486.html Here's a simplified to the minimum demonstration of the problem: SNMP responses I don't want: # snmpwalk -Oa -c public -v 1 switch-root | grep ifDescr IF-MIB::ifDescr.1 = STRING: Slot: 0 Port: 1 Gigabit - Level IF-MIB::ifDescr.2 = STRING: Slot: 0 Port: 2 Gigabit - Level IF-MIB::ifDescr.3 = STRING: Slot: 0 Port: 3 Gigabit - Level IF-MIB::ifDescr.4 = STRING: Slot: 0 Port: 4 Gigabit - Level IF-MIB::ifDescr.5 = STRING: Slot: 0 Port: 5 Gigabit - Level IF-MIB::ifDescr.6 = STRING: Slot: 0 Port: 6 Gigabit - Level IF-MIB::ifDescr.7 = STRING: Slot: 0 Port: 7 Gigabit - Level IF-MIB::ifDescr.8 = STRING: Slot: 0 Port: 8 Gigabit - Level SNMP responses I do want: # snmpwalk -Oa -c public -v 1 switch-root | grep ifAlias IF-MIB::ifAlias.1 = STRING: switch-vince IF-MIB::ifAlias.2 = STRING: IF-MIB::ifAlias.3 = STRING: IF-MIB::ifAlias.4 = STRING: switch-downstairs IF-MIB::ifAlias.5 = STRING: IF-MIB::ifAlias.6 = STRING: IF-MIB::ifAlias.7 = STRING: IF-MIB::ifAlias.8 = STRING: old-ethernet What I'm using on Debian Squeeze: # cfgmaker --version cfgmaker for mrtg-2.16.3 Cfgmaker's idea of the "alias" doesn't match with snmpwalk's response: # /usr/bin/cfgmaker --ifdesc=alias switch-root | grep Descr: ### Interface 1 >> Descr: 'Slot:-0-Port:-1-Gigabit---Level' | Name: '0/1' | Ip: '' | Eth: '' ### ### Interface 2 >> Descr: 'Slot:-0-Port:-2-Gigabit---Level' | Name: '0/2' | Ip: '' | Eth: '' ### ### Interface 3 >> Descr: 'Slot:-0-Port:-3-Gigabit---Level' | Name: '0/3' | Ip: '' | Eth: '' ### ### Interface 4 >> Descr: 'Slot:-0-Port:-4-Gigabit---Level' | Name: '0/4' | Ip: '' | Eth: '' ### ### Interface 5 >> Descr: 'Slot:-0-Port:-5-Gigabit---Level' | Name: '0/5' | Ip: '' | Eth: '' ### ### Interface 6 >> Descr: 'Slot:-0-Port:-6-Gigabit---Level' | Name: '0/6' | Ip: '' | Eth: '' ### ### Interface 7 >> Descr: 'Slot:-0-Port:-7-Gigabit---Level' | Name: '0/7' | Ip: '' | Eth: '' ### ### Interface 8 >> Descr: 'Slot:-0-Port:-8-Gigabit---Level' | Name: '0/8' | Ip: '' | Eth: '' ### Seems to be no way to get cfgmaker to read the IF-MIB::ifAlias instead of IF-MID::ifDescr. Discussion on the mailling list as seen in the above link just kind of ... stopped, once it was clear that cfgmaker is broken. The problem seems to exist at least from 2.16.3 to 2.17.1, perhaps more. -- System Information: Debian Release: 6.0.1 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages mrtg depends on: ii debconf [debconf-2.0] 1.5.36.1 Debian configuration management sy ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libgd2-noxpm 2.0.36~rc1~dfsg-5 GD Graphics Library version 2 (wit ii libpng12-0 1.2.44-1 PNG library - runtime ii libsnmp-session-perl 1.13-1 Perl support for accessing SNMP-aw ii perl 5.10.1-17 Larry Wall's Practical Extraction ii perl-modules 5.10.1-17 Core Perl modules ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime mrtg recommends no packages. Versions of packages mrtg suggests: ii apache2-mpm-prefork [h 2.2.16-6+squeeze1 Apache HTTP Server - traditional n ii links [www-browser] 2.3~pre1-1 Web browser running in text mode ii lynx-cur [www-browser] 2.8.8dev.5-1 Text-mode WWW Browser with NLS sup pn mrtg-contrib <none> (no description available) -- Configuration Files: /etc/mrtg.cfg [Errno 13] Permission denied: u'/etc/mrtg.cfg' -- debconf information: mrtg/conf_mods: true -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org