Your message dated Mon, 26 Dec 2011 11:02:23 +0000
with message-id <[email protected]>
and subject line Bug#630725: fixed in mrtg 2.17.3-1
has caused the Debian Bug report #630725,
regarding mrtg: squeeze cfgmaker will not use IfAlias
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
630725: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630725
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
Source: mrtg
Source-Version: 2.17.3-1

We believe that the bug you reported is fixed in the latest version of
mrtg, which is due to be installed in the Debian FTP archive:

mrtg-contrib_2.17.3-1_all.deb
  to main/m/mrtg/mrtg-contrib_2.17.3-1_all.deb
mrtg_2.17.3-1.debian.tar.gz
  to main/m/mrtg/mrtg_2.17.3-1.debian.tar.gz
mrtg_2.17.3-1.dsc
  to main/m/mrtg/mrtg_2.17.3-1.dsc
mrtg_2.17.3-1_amd64.deb
  to main/m/mrtg/mrtg_2.17.3-1_amd64.deb
mrtg_2.17.3.orig.tar.gz
  to main/m/mrtg/mrtg_2.17.3.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sandro Tosi <[email protected]> (supplier of updated mrtg package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 26 Dec 2011 11:41:35 +0100
Source: mrtg
Binary: mrtg mrtg-contrib
Architecture: source all amd64
Version: 2.17.3-1
Distribution: unstable
Urgency: low
Maintainer: Adam Majer <[email protected]>
Changed-By: Sandro Tosi <[email protected]>
Description: 
 mrtg       - multi router traffic grapher
 mrtg-contrib - multi router traffic grapher (contributed files)
Closes: 600798 630725 641157 641163 652956
Changes: 
 mrtg (2.17.3-1) unstable; urgency=low
 .
   * New upstream release
     - add the process id tmp file extensions, to guard against multiple rateup
       instances messing things up for each other; Closes: #600798
     - cfgmaker skip using ifalias (only supported on routers where mrtg knows
       that ifalias exists) if it is undefined and switch to the next item in
       line for ifdesc; Closes: #630725
     - add missing closing brace in HTML template; Closes: #641163
   * debian/cron.d
     - exclude commented lines when checking WorkDir; thanks to Celelibi for the
       report; Closes: #641157
   * debian/po/nl.po
     - updated debconf PO Dutch translation; thanks to Joe Dalton for the report
       and patch; Closes: #652956
   * debian/patches/fix_typos_doc_manpages.patch
     - removed, merged upstream
   * debian/{mrtg.docs, rules}
     - don't install CHANGES directly, it's detected by dh_installchangelogs
Checksums-Sha1: 
 1b030e15a22eb9d2bc2e1dc5cdce377cb895bfb4 1324 mrtg_2.17.3-1.dsc
 b5edb9a9b2a1230d73c94c122402444f1123efd6 1096747 mrtg_2.17.3.orig.tar.gz
 997cbaa81e9205c9035843e25abf158aac466d4f 34150 mrtg_2.17.3-1.debian.tar.gz
 0b03b135a3596cc28626e24aa6f1328d256347dd 520940 mrtg-contrib_2.17.3-1_all.deb
 bc0227034f6f179546a305dc32eb40feaa96d598 407894 mrtg_2.17.3-1_amd64.deb
Checksums-Sha256: 
 727b1d3be0c91c5ee64544227684406dae45432698267fc3215cccec20f8733b 1324 
mrtg_2.17.3-1.dsc
 99dff803eec851dc436e8457c97a5209c51b5ff46c3bce324e2215e3cb3fe779 1096747 
mrtg_2.17.3.orig.tar.gz
 44a0a28d6264d4403676290eaae345f32f6ceed0db6336aab62732e1d6d1e2b9 34150 
mrtg_2.17.3-1.debian.tar.gz
 2560e4f41e8081a77641125dd922ba597b08f23f36f9eac8b94837a3f553b864 520940 
mrtg-contrib_2.17.3-1_all.deb
 a2855e720853adb726abaa39a4c9fe845f0ce8aa43baa6b842dee4af48135d47 407894 
mrtg_2.17.3-1_amd64.deb
Files: 
 9b97d2f9f7dd09c9014699297386f7d0 1324 net extra mrtg_2.17.3-1.dsc
 c803f671d04367ee719039ea71fb5b37 1096747 net extra mrtg_2.17.3.orig.tar.gz
 7b827c172f873718f345417220874860 34150 net extra mrtg_2.17.3-1.debian.tar.gz
 b0ca18b599ef27336996b33949ce295c 520940 net extra mrtg-contrib_2.17.3-1_all.deb
 51dd56426ce5defdab19525e9ff52796 407894 net extra mrtg_2.17.3-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk74UKgACgkQAukwV0RN2VBdhQCfSKwAVz+7WKSAnbReh3zw26D4
YrAAmwYnZFCqGSmWicLYOvq6Sbhp0wqg
=B7yr
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to