Package: mrtg
Version: 2.14.7-2
Severity: important

In a fresh install of mrtg, I noticed that I cannot use external MIBs.
After a couple of hours trying to understand I found that /usr/bin/mrtg
was loading SNMP_util, as snmpv3 was not required, but
/usr/share/perl5/MRTG_lib.pm was loading Net_SNMP_util, as it always
tries that library first. As a result, when the config file was read by
MRTG_lib, the mibs were pushed into @Net_SNMP_util::MIB_Files, but then,
when calling toOID from /usr/bin/mrtg, it tries to read mibs from
@SNMP_util::MIB_Files, so that doesn't work.

Just putting "enablesnmpv3: yes" fixed the issue.

I don't understand how this works in other computers I have...


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (901, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages mrtg depends on:
ii  debconf [debconf-2.0]        1.5.8       Debian configuration management sy
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  libgd2-xpm                   2.0.33-5.2  GD Graphics Library version 2
ii  libpng12-0                   1.2.13-4    PNG library - runtime
ii  libsnmp-session-perl         1.08-1      Perl support for accessing SNMP-aw
ii  perl                         5.8.8-6.1   Larry Wall's Practical Extraction 
ii  perl-modules                 5.8.8-6.1   Core Perl modules
ii  zlib1g                       1:1.2.3-13  compression library - runtime

mrtg recommends no packages.

-- debconf information:
  mrtg/own_user: true
* mrtg/conf_mods: true


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to