Package: munin-node
Version: 1.2.0-1
Severity: normal

The 'amavis' plugin supplied with munin looks in the wrong place for the
mail log file, at least with the standard Debian syslog configuration.

Worse, there isn't a simple way to override it from the munin
configuration, like there are with many others.

This simple patch makes it configurable, and should be suitable for
sending upstream.

Regards,
        Daniel

--- amavis      2005-02-23 13:16:42.000000000 +1100
+++ amavis.orig 2005-02-23 13:18:36.000000000 +1100
@@ -15,7 +15,7 @@
 #
 
 TEMP_FILE=`mktemp -p /tmp/ munin-amavis.XXXXXX`
-AMAVIS_LOG=${logfile:-/var/log/mail/mail.info}
+AMAVIS_LOG=/var/log/mail/mail.info
 LOGTAIL=${logtail:-`which logtail`}
 STATEFILE=/var/lib/munin/plugin-state/amavis.offset
 


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-rc3-enki
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

Versions of packages munin-node depends on:
ii  libnet-server-perl            0.87-2     An extensible, general perl server
ii  perl                          5.8.4-6    Larry Wall's Practical Extraction 
ii  procps                        1:3.2.5-1  /proc file system utilities

-- no debconf information

-- 
> What should I look for in a good bird bath?
And in response, thus spake the Oracle:
} In a good bird bath? I'd expect to find birds.
} In a bad bird bath, tarantulas.


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

Reply via email to