Package: munin-node Version: 1.4.5-3 Severity: normal Tags: patch Hi,
The bind9 plugin doesn't work. The error is: Use of uninitialized value $ENV{"MUNIN_PLUGSTATE"} in concatenation (.) or string at /usr/share/munin/plugins/bind9 line 36. It's exactly the same problem that #568793. Please see the patch in attachment. Best regards, Florent. -- System Information: Debian Release: 6.0 APT prefers testing APT policy: (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages munin-node depends on: ii adduser 3.112+nmu2 add and remove users and groups ii gawk 1:3.1.7.dfsg-5 GNU awk, a pattern scanning and pr ii libnet-server-perl 0.97-1 An extensible, general perl server ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip ii munin-common 1.4.5-3 network-wide graphing framework (c ii perl 5.10.1-17 Larry Wall's Practical Extraction ii procps 1:3.2.8-9 /proc file system utilities Versions of packages munin-node recommends: pn libnet-snmp-perl <none> (no description available) Versions of packages munin-node suggests: ii acpi 1.5-2 displays information on ACPI devic pn ethtool <none> (no description available) ii hdparm 9.32-1 tune hard disk parameters for high pn libcache-cache-perl <none> (no description available) pn libcrypt-ssleay-perl <none> (no description available) pn libdbd-mysql-perl <none> (no description available) pn libdbd-pg-perl <none> (no description available) pn liblwp-useragent-determ <none> (no description available) pn libnet-irc-perl <none> (no description available) pn libnet-ssleay-perl <none> (no description available) pn libtext-csv-xs-perl <none> (no description available) ii libwww-perl 5.836-1 Perl HTTP/WWW client/server librar pn libxml-simple-perl <none> (no description available) ii lm-sensors 1:3.1.2-6 utilities to read temperature/volt pn logtail <none> (no description available) ii munin 1.4.5-3 network-wide graphing framework (g pn munin-java-plugins <none> (no description available) pn munin-plugins-extra <none> (no description available) pn mysql-client <none> (no description available) ii net-tools 1.60-23 The NET-3 networking toolkit ii python 2.6.6-3+squeeze5 interactive high-level object-orie ii ruby 4.5 An interpreter of object-oriented pn smartmontools <none> (no description available) -- Configuration Files: /etc/munin/plugin-conf.d/munin-node [Errno 13] Permission non accordée: u'/etc/munin/plugin-conf.d/munin-node' -- no debconf information
--- bind9 2011-02-06 00:19:08.000000000 +0100 +++ /usr/share/munin/plugins/bind9 2011-02-06 00:24:32.000000000 +0100 @@ -31,9 +31,10 @@ =cut use strict; +use Munin::Common::Defaults; my $QUERYLOG = $ENV{logfile} || '/var/log/bind9/query.log'; -my $STATEFILE= $ENV{MUNIN_PLUGSTATE}.'/bind9.state'; +my $STATEFILE= $Munin::Common::Defaults::MUNIN_PLUGSTATE.'/bind9.state'; my $OTHER=0; my %IN;