Full changelog is here: https://github.com/munin-monitoring/munin/blob/2.0.7/ChangeLog Lots of input and help from sthen@ (maintainer) ok sthen@ P.S. Your config may need some manual interference.
29 lines
983 B
Plaintext
29 lines
983 B
Plaintext
$OpenBSD: patch-plugins_node_d_mailscanner_in,v 1.2 2012/10/12 09:46:46 kirby Exp $
|
|
--- plugins/node.d/mailscanner.in.orig Fri Aug 31 19:22:50 2012
|
|
+++ plugins/node.d/mailscanner.in Sun Sep 30 23:20:20 2012
|
|
@@ -15,11 +15,11 @@ The following environment variables are used by this p
|
|
=item logfile
|
|
|
|
The file where MailScanner logs its action (Default:
|
|
-/var/log/mail.log)
|
|
+/var/log/maillog)
|
|
|
|
=item logtail
|
|
|
|
-The location of the logtail command (Default: /usr/sbin/logtail)
|
|
+The location of the logtail command (Default: /usr/local/bin/logtail)
|
|
|
|
=item offsetfile
|
|
|
|
@@ -41,8 +41,8 @@ Requires the logtail command somewhere in path
|
|
|
|
use strict;
|
|
|
|
-my $logfile = '/var/log/mail.log';
|
|
-my $logtail = '/usr/sbin/logtail';
|
|
+my $logfile = '/var/log/maillog';
|
|
+my $logtail = '/usr/local/bin/logtail';
|
|
my $offsetfile = "$ENV{MUNIN_PLUGSTATE}/munin-mailscanner.offset";
|
|
my ($clean, $viruses, $spams, $others, $total) = (0, 0, 0, 0, 0);
|
|
my $cmd = (defined($ARGV[0])) ? $ARGV[0] : '';
|