Package: munin-node Version: 1.2.5-1 Severity: normal Tags: patch postfix_mail{stats,volume} fall back to a value for rotlogfile that they have already determined not to exist. This resulted in no stats beeing output for some hours after midnight. Substituting /dev/null for $logfile.0 corrected the problem for me.
postfix_mailstats also has a mistyped "=~". # diff -u postfix_mailstats.orig postfix_mailstats --- postfix_mailstats.orig 2009-06-12 13:28:43.000000000 +0200 +++ postfix_mailstats 2009-06-12 13:18:21.000000000 +0200 @@ -126,7 +126,7 @@ } else { - $rotlogfile = $logfile . ".0"; + $rotlogfile = '/dev/null'; } if (-f "$statefile") @@ -236,7 +236,7 @@ elsif ($line =~ /postfix\/smtpd.*reject: \S+ \S+ \S+ (\S+)/) { my $cause = $1; - $cause = 'OTHER' unless $1 =/^\d+$/; + $cause = 'OTHER' unless $1 =~ /^\d+$/; $rejects->{$cause} ++; } } # diff -u postfix_mailvolume.orig postfix_mailvolume --- postfix_mailvolume.orig 2009-06-12 13:28:34.000000000 +0200 +++ postfix_mailvolume 2009-06-12 13:18:21.000000000 +0200 @@ -128,7 +128,7 @@ } else { - $rotlogfile = $logfile . ".0"; + $rotlogfile = '/dev/null'; } if (-f "$statefile") -- System Information: Debian Release: 4.0 APT prefers oldstable APT policy: (500, 'oldstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.23.16+unit+smp Locale: LANG=C, LC_CTYPE=sv_SE.ISO8859-1 (charmap=ISO-8859-1) Versions of packages munin-node depends on: ii adduser 3.102 Add and remove users and groups ii libnet-server-perl 0.94-1 An extensible, general perl server ii lsb-base 3.1-23.2etch1 Linux Standard Base 3.1 init scrip ii perl 5.8.8-7etch6 Larry Wall's Practical Extraction ii procps 1:3.2.7-3 /proc file system utilities Versions of packages munin-node recommends: ii libnet-snmp-perl 5.2.0-1 Script SNMP connections -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org